]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Use KColorSchemeManager
authorJulius Künzel <jk.kdedev@smartlab.uber.space>
Sun, 24 Mar 2024 18:36:09 +0000 (18:36 +0000)
committerMéven Car <meven.car@kdemail.net>
Thu, 28 Mar 2024 10:55:07 +0000 (10:55 +0000)
Fixes the dark theme on Windows

src/dolphinmainwindow.cpp

index d3027c9785fced47ff9ce94bfaa3306f81fbdfa8..56fc37e4c27d53f559265e7fe943dde632460be8 100644 (file)
@@ -37,6 +37,7 @@
 #include <KActionCollection>
 #include <KActionMenu>
 #include <KAuthorized>
+#include <KColorSchemeManager>
 #include <KConfig>
 #include <KConfigGui>
 #include <KDualAction>
@@ -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();