Browse Source

- BUGFIX: Fixed "Missing Input path" error when creating a torrent

- BUGFIX: Fixed some notification messages for torrent addition dialog
adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
26a4040003
  1. 5
      TODO
  2. 6
      src/GUI.cpp
  3. 2
      src/createtorrent_imp.cpp

5
TODO

@ -57,9 +57,12 @@ @@ -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
- 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

6
src/GUI.cpp

@ -513,7 +513,7 @@ void GUI::closeEvent(QCloseEvent *e) { @@ -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) { @@ -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() { @@ -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));

2
src/createtorrent_imp.cpp

@ -141,7 +141,7 @@ QStringList createtorrent::allItems(QListWidget *list){ @@ -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;
}

Loading…
Cancel
Save