[BUGFIX] Check the Qt version before including the style hints header

This commit is contained in:
hasherezade
2025-04-13 03:06:19 +02:00
parent 9e56138068
commit f2c5e9aa65
+3 -2
View File
@@ -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"