Commit f5dd1c69 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

ensure palette changes alter shading properly

parent 83997d0e
......@@ -8,6 +8,7 @@
#include <QDir>
#include <QFileInfo>
#include <QGuiApplication>
#include <QIcon>
#include <QList>
#include <QMimeData>
......@@ -369,6 +370,11 @@ KateFileTreeModel::KateFileTreeModel(QObject *p)
m_listMode = false;
initModel();
// ensure palette change updates the colors properly
connect(qGuiApp, &QGuiApplication::paletteChanged, this, [this]() {
updateBackgrounds(true);
});
}
KateFileTreeModel::~KateFileTreeModel()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment