diff options
| author | Julius Künzel <[email protected]> | 2024-03-24 18:36:09 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2024-03-28 10:55:07 +0000 |
| commit | aeb704851d3b33f88eb601d597c2b0743d4e08df (patch) | |
| tree | e4484679c18571cdbe989489a5161865e2442b31 /src | |
| parent | cf3732087b8eb390f18fa919012ddbe5eed623af (diff) | |
Use KColorSchemeManager
Fixes the dark theme on Windows
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 3 |
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(); |
