1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-02 16:31:23 +00:00

Use KColorSchemeManager

Fixes the dark theme on Windows
This commit is contained in:
Julius Künzel 2024-03-24 18:36:09 +00:00 committed by Méven Car
parent cf3732087b
commit aeb704851d

View 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();