Fix compile.

This commit is contained in:
Martin Rotter 2014-04-11 13:58:32 +02:00
parent 475ab5e0bf
commit 9a8f418377
2 changed files with 4 additions and 0 deletions

View file

@ -141,6 +141,7 @@ void FormUpdate::startUpdate() {
#endif #endif
} }
#if defined(Q_OS_WIN) || defined(Q_OS_OS2)
void FormUpdate::finish(QNetworkReply::NetworkError err, QByteArray arr) void FormUpdate::finish(QNetworkReply::NetworkError err, QByteArray arr)
{ {
// TODO: presunou do updatera. // TODO: presunou do updatera.
@ -185,3 +186,4 @@ void FormUpdate::finish(QNetworkReply::NetworkError err, QByteArray arr)
// TODO: chyba - nelze ulozit soubor. // TODO: chyba - nelze ulozit soubor.
} }
} }
#endif

View file

@ -47,7 +47,9 @@ class FormUpdate : public QDialog {
void checkForUpdates(); void checkForUpdates();
void startUpdate(); void startUpdate();
#if defined(Q_OS_WIN) || defined(Q_OS_OS2)
void finish(QNetworkReply::NetworkError err, QByteArray arr); void finish(QNetworkReply::NetworkError err, QByteArray arr);
#endif
private: private:
Ui::FormUpdate *m_ui; Ui::FormUpdate *m_ui;