Skip to content

Commit

Permalink
Fix QT_WARNING_DISABLE_DEPRECATED being potentially undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Abestanis committed Jun 29, 2022
1 parent 905b130 commit 61190e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/autoupdater.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
#include <QUrl>
#include <QFile>
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
#ifdef QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_DEPRECATED
#endif
#include <QNetworkAccessManager>
QT_WARNING_POP
#include "updatedialog.h"
Expand Down

0 comments on commit 61190e5

Please sign in to comment.