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;