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
}
#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

View File

@ -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;