diff --git a/TODO b/TODO index 125be99c5..c160f8d08 100644 --- a/TODO +++ b/TODO @@ -57,9 +57,12 @@ - add qt4-qtconfig as package dependency RC5 - wait for Ticket #182 Fix +- BUGFIX: Fixed "Automatically start seeding" feature in torrent creation tool rc4->rc5 changelog: - BUGFIX: Now filtered don't appear on hard drive anymore (libtorrent >= r1659) - BUGFIX: AddInPause setting doesn't pause downloads on startup anymore - BUGFIX: Fixed an ETA calculation problem when the torrent has filtered files -- BUGFIX: Fixed possible overflow in ETA calculation \ No newline at end of file +- BUGFIX: Fixed possible overflow in ETA calculation +- BUGFIX: Fixed "Missing Input path" error when creating a torrent +- BUGFIX: Fixed some notification messages for torrent addition dialog \ No newline at end of file diff --git a/src/GUI.cpp b/src/GUI.cpp index 7692f594c..e8de458a1 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -513,7 +513,7 @@ void GUI::closeEvent(QCloseEvent *e) { // Display window to create a torrent void GUI::on_actionCreate_torrent_triggered() { createtorrent *ct = new createtorrent(this); - connect(ct, SIGNAL(torrent_to_seed(QString)), this, SLOT(addTorrent(QString path))); + connect(ct, SIGNAL(torrent_to_seed(QString)), this, SLOT(addTorrent(QString))); } // Called when we minimize the program @@ -557,7 +557,7 @@ void GUI::dropEvent(QDropEvent *event) { if(useTorrentAdditionDialog) { torrentAdditionDialog *dialog = new torrentAdditionDialog(this); connect(dialog, SIGNAL(torrentAddition(QString, bool, QString)), BTSession, SLOT(addTorrent(QString, bool, QString))); - connect(dialog, SIGNAL(setInfoBarGUI(QString, QString)), downloadingTorrentTab, SLOT(setInfoBar(QString, QString))); + connect(dialog, SIGNAL(setInfoBarGUI(QString, QColor)), downloadingTorrentTab, SLOT(setInfoBar(QString, QColor))); dialog->showLoad(file); }else{ BTSession->addTorrent(file); @@ -598,7 +598,7 @@ void GUI::on_actionOpen_triggered() { if(useTorrentAdditionDialog) { torrentAdditionDialog *dialog = new torrentAdditionDialog(this); connect(dialog, SIGNAL(torrentAddition(QString, bool, QString)), BTSession, SLOT(addTorrent(QString, bool, QString))); - connect(dialog, SIGNAL(setInfoBarGUI(QString, QString)), downloadingTorrentTab, SLOT(setInfoBar(QString, QString))); + connect(dialog, SIGNAL(setInfoBarGUI(QString, QColor)), downloadingTorrentTab, SLOT(setInfoBar(QString, QColor))); dialog->showLoad(pathsList.at(i)); }else{ BTSession->addTorrent(pathsList.at(i)); diff --git a/src/createtorrent_imp.cpp b/src/createtorrent_imp.cpp index 4e9c185fd..05918a15f 100644 --- a/src/createtorrent_imp.cpp +++ b/src/createtorrent_imp.cpp @@ -141,7 +141,7 @@ QStringList createtorrent::allItems(QListWidget *list){ // Main function that create a .torrent file void createtorrent::on_createButton_clicked(){ QString input = textInputPath->text().trimmed(); - if(input.isEmpty() == 0){ + if(input.isEmpty()){ QMessageBox::critical(0, tr("No input path set"), tr("Please type an input path first")); return; }