From 9a8f4183771b2aacdedd1ddf094ca82c225e24c0 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Fri, 11 Apr 2014 13:58:32 +0200 Subject: [PATCH] Fix compile. --- src/gui/formupdate.cpp | 2 ++ src/gui/formupdate.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/gui/formupdate.cpp b/src/gui/formupdate.cpp index 5e630b1db..d5648a819 100755 --- a/src/gui/formupdate.cpp +++ b/src/gui/formupdate.cpp @@ -141,6 +141,7 @@ void FormUpdate::startUpdate() { #endif } +#if defined(Q_OS_WIN) || defined(Q_OS_OS2) void FormUpdate::finish(QNetworkReply::NetworkError err, QByteArray arr) { // TODO: presunou do updatera. @@ -185,3 +186,4 @@ void FormUpdate::finish(QNetworkReply::NetworkError err, QByteArray arr) // TODO: chyba - nelze ulozit soubor. } } +#endif diff --git a/src/gui/formupdate.h b/src/gui/formupdate.h index eb760f08e..07d913e34 100644 --- a/src/gui/formupdate.h +++ b/src/gui/formupdate.h @@ -47,7 +47,9 @@ class FormUpdate : public QDialog { void checkForUpdates(); void startUpdate(); +#if defined(Q_OS_WIN) || defined(Q_OS_OS2) void finish(QNetworkReply::NetworkError err, QByteArray arr); +#endif private: Ui::FormUpdate *m_ui;