Skip to content

Commit

Permalink
color scheme detection only supported in qt6.5 and higher
Browse files Browse the repository at this point in the history
  • Loading branch information
dannagle committed Jun 14, 2024
1 parent e7e2fe5 commit 7f32051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ int main(int argc, char *argv[])
bool useDark = settings.value("darkModeCheck", true).toBool();
QString styleSheet = "";

#if QT_VERSION > QT_VERSION_CHECK(6, 0, 0)
#if QT_VERSION > QT_VERSION_CHECK(6, 5, 0)

QStyleHints * styleHints = QGuiApplication::styleHints();

Expand Down

0 comments on commit 7f32051

Please sign in to comment.