diff --git a/src/gui/formupdate.cpp b/src/gui/formupdate.cpp index f7974515f..1d73d7571 100755 --- a/src/gui/formupdate.cpp +++ b/src/gui/formupdate.cpp @@ -111,7 +111,7 @@ void FormUpdate::checkForUpdates() { } } -#if defined(Q_OS_WIN) || defined(Q_OS_OS2) +//#if defined(Q_OS_WIN) || defined(Q_OS_OS2) void FormUpdate::updateProgress(qint64 bytes_received, qint64 bytes_total) { qApp->processEvents(); m_ui->m_lblStatus->setStatus(WidgetWithStatus::Information, @@ -177,7 +177,7 @@ void FormUpdate::updateCompleted(QNetworkReply::NetworkError status, QByteArray break; } } -#endif +//#endif void FormUpdate::startUpdate() { QString url_file; diff --git a/src/gui/formupdate.h b/src/gui/formupdate.h index d1da1da5f..835e1d9c3 100644 --- a/src/gui/formupdate.h +++ b/src/gui/formupdate.h @@ -55,11 +55,11 @@ class FormUpdate : public QDialog { void checkForUpdates(); void startUpdate(); -#if defined(Q_OS_WIN) || defined(Q_OS_OS2) +//#if defined(Q_OS_WIN) || defined(Q_OS_OS2) void updateProgress(qint64 bytes_received, qint64 bytes_total); void updateCompleted(QNetworkReply::NetworkError status, QByteArray contents); void saveUpdateFile(const QByteArray &file_contents); -#endif +//#endif private: #if defined(Q_OS_WIN) || defined(Q_OS_OS2)