1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-22 20:44:15 +00:00

- Attempt to fix some slots

This commit is contained in:
Christophe Dumez 2006-10-27 21:37:30 +00:00
parent a68073a46a
commit 9b7b5b200b

View File

@ -1059,7 +1059,7 @@ void GUI::dropEvent(QDropEvent *event){
foreach(file, files){
if(options->useAdditionDialog()){
torrentAdditionDialog *dialog = new torrentAdditionDialog(this, file.trimmed().replace("file://", ""));
connect(dialog, SIGNAL(torrentAddition(QString, bool, QString)), this, SLOT(addTorrent(QString, bool, QString())));
connect(dialog, SIGNAL(torrentAddition(const QString&, bool, const QString&)), this, SLOT(addTorrent(const QString&, bool, const QString&)));
connect(dialog, SIGNAL(setInfoBarGUI(const QString&, const QString&)), this, SLOT(setInfoBar(const QString&, const QString&)));
}else{
addTorrent(file.trimmed().replace("file://", ""));