From b1f562d7c0bcc38f296270a89dbcf31204d47f6e Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 31 Aug 2007 13:39:27 +0000 Subject: [PATCH] - Fixed a bug in previous commit - Added some debug --- src/engineSelectDlg.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engineSelectDlg.cpp b/src/engineSelectDlg.cpp index 2294e8565..8adac9423 100644 --- a/src/engineSelectDlg.cpp +++ b/src/engineSelectDlg.cpp @@ -344,13 +344,15 @@ bool engineSelectDlg::parseVersionsFile(QString versions_file, QString updateSer downloader->downloadUrl(updateServer+plugin_name+".zip"); // Actually this is really a .py downloader->downloadUrl(updateServer+plugin_name+".png"); updated = true; + }else { + qDebug("Plugin: %s is up to date", plugin_name.toUtf8().data()); } } // Close file versions.close(); // Clean up tmp file QFile::remove(versions_file); - if(!updated) { + if(file_correct && !updated) { QMessageBox::information(this, tr("Search plugin update")+" -- "+tr("qBittorrent"), tr("All your plugins are already up to date.")); } return file_correct;