Some changes...

This commit is contained in:
Martin Rotter 2014-04-11 18:29:16 +02:00
parent 4c33fa475d
commit fcc9757a74
2 changed files with 4 additions and 4 deletions

View file

@ -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()) {

View file

@ -15,8 +15,8 @@
// You should have received a copy of the GNU General Public License
// along with RSS Guard. If not, see <http://www.gnu.org/licenses/>.
#include "qtsingleapplication/qtsinglecoreapplication.h"
#include "definitions/definitions.h"
#include "qtsingleapplication/qtsinglecoreapplication.h"
#include <QTranslator>
#include <QDebug>