Browse Source

Include QDesktopWidget header only when needed

adaptive-webui-19844
Vladimir Golovnev (Glassez) 4 years ago
parent
commit
3972597163
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 5
      src/gui/utils.cpp

5
src/gui/utils.cpp

@ -35,7 +35,6 @@
#include <QApplication> #include <QApplication>
#include <QDesktopServices> #include <QDesktopServices>
#include <QDesktopWidget>
#include <QFileInfo> #include <QFileInfo>
#include <QIcon> #include <QIcon>
#include <QPixmap> #include <QPixmap>
@ -49,6 +48,10 @@
#include <QWidget> #include <QWidget>
#include <QWindow> #include <QWindow>
#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) && defined(Q_OS_WIN)
#include <QDesktopWidget>
#endif
#include "base/utils/fs.h" #include "base/utils/fs.h"
#include "base/utils/version.h" #include "base/utils/version.h"

Loading…
Cancel
Save