Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
f5dd1c69
Commit
f5dd1c69
authored
Feb 18, 2021
by
Christoph Cullmann
🐮
Browse files
ensure palette changes alter shading properly
parent
83997d0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/filetree/katefiletreemodel.cpp
View file @
f5dd1c69
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment