From fcc9757a74ba920f804f9bd3029674c303265494 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Fri, 11 Apr 2014 18:29:16 +0200 Subject: [PATCH] Some changes... --- src/gui/formupdate.cpp | 6 +++--- src/updater/main.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/formupdate.cpp b/src/gui/formupdate.cpp index d5648a819..6e0b8a0e2 100755 --- a/src/gui/formupdate.cpp +++ b/src/gui/formupdate.cpp @@ -115,13 +115,13 @@ void FormUpdate::startUpdate() { } #if defined(Q_OS_WIN) || defined(Q_OS_OS2) - Downloader *down = new Downloader(this); + Downloader *downloader = new Downloader(this); - connect(down, SIGNAL(completed(QNetworkReply::NetworkError,QByteArray)), + connect(downloader, SIGNAL(completed(QNetworkReply::NetworkError,QByteArray)), this, SLOT(finish(QNetworkReply::NetworkError,QByteArray))); // TODO: tady jen zavolat updater a ten by si to mohl stahnout sam. - down->downloadFile(url_file); + downloader->downloadFile(url_file); #else if (!WebFactory::instance()->openUrlInExternalBrowser(url_file)) { if (SystemTrayIcon::isSystemTrayActivated()) { diff --git a/src/updater/main.cpp b/src/updater/main.cpp index b0c7d2967..b6faac36a 100644 --- a/src/updater/main.cpp +++ b/src/updater/main.cpp @@ -15,8 +15,8 @@ // You should have received a copy of the GNU General Public License // along with RSS Guard. If not, see . -#include "qtsingleapplication/qtsinglecoreapplication.h" #include "definitions/definitions.h" +#include "qtsingleapplication/qtsinglecoreapplication.h" #include #include