From: tobtoht Date: Fri, 3 May 2024 16:59:35 +0000 (+0200) Subject: windows: fix darkmode X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=69977e38b239b1dac31dccb4243c681b9cc04b94;p=gamesguru%2Ffeather.git windows: fix darkmode --- diff --git a/src/main.cpp b/src/main.cpp index 5f45f408..8d1e4065 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -82,12 +82,6 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) { } #endif -// #TODO: Fix Windows dark mode handling Qt 6.5 beta1 -// darkmode=2 (default) causes some text to become unreadable -#if defined(Q_OS_WIN) - qputenv("QT_QPA_PLATFORM", "windows:darkmode=1"); -#endif - QStringList argv_; for(int i = 0; i != argc; i++){ argv_ << QString::fromStdString(argv[i]);