mirror of
https://github.com/hasherezade/pe-bear.git
synced 2026-10-12 02:15:21 +00:00
[BUGFIX] Check the Qt version before including the style hints header
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#include "MainSettings.h"
|
||||
#include <QPalette>
|
||||
#include <QStyleHints>
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
|
||||
#include <QStyleHints>
|
||||
#endif
|
||||
#include "../gui/DarkStyle.h"
|
||||
#define DARK_STYLE_NAME "Dark"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user