From aeb704851d3b33f88eb601d597c2b0743d4e08df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20K=C3=BCnzel?= Date: Sun, 24 Mar 2024 18:36:09 +0000 Subject: [PATCH] Use KColorSchemeManager Fixes the dark theme on Windows --- src/dolphinmainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index d3027c9785..56fc37e4c2 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -133,6 +134,8 @@ DolphinMainWindow::DolphinMainWindow() setStateConfigGroup("State"); + new KColorSchemeManager(this); + connect(&DolphinNewFileMenuObserver::instance(), &DolphinNewFileMenuObserver::errorMessage, this, &DolphinMainWindow::showErrorMessage); KIO::FileUndoManager *undoManager = KIO::FileUndoManager::self();