From 7f32051425c6de1dee66c48f629aed62138a5c4e Mon Sep 17 00:00:00 2001 From: Dan Nagle Date: Fri, 14 Jun 2024 13:18:54 -0500 Subject: [PATCH] color scheme detection only supported in qt6.5 and higher --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index cccd7753..45a839a3 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -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();