┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Künzel <[email protected]>2024-03-24 18:36:09 +0000
committerMéven Car <[email protected]>2024-03-28 10:55:07 +0000
commitaeb704851d3b33f88eb601d597c2b0743d4e08df (patch)
treee4484679c18571cdbe989489a5161865e2442b31
parentcf3732087b8eb390f18fa919012ddbe5eed623af (diff)
Use KColorSchemeManager
Fixes the dark theme on Windows
-rw-r--r--src/dolphinmainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index d3027c978..56fc37e4c 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -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();