From 69977e38b239b1dac31dccb4243c681b9cc04b94 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 3 May 2024 18:59:35 +0200 Subject: [PATCH] windows: fix darkmode --- src/main.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 5f45f40..8d1e406 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]);