Fix?
This commit is contained in:
parent
51b597bb73
commit
1e548e9460
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user