Commit caac629d authored by Dan Leinir Turthra Jensen's avatar Dan Leinir Turthra Jensen 🌈
Browse files

Actually do as intended, and check /all/ changed entries, including 1st

Hotfix for a mistake made in https://phabricator.kde.org/D26544
parent 26104cd8
...@@ -124,8 +124,8 @@ void KCMColors::reloadModel(const QQmlListReference &changedEntries) ...@@ -124,8 +124,8 @@ void KCMColors::reloadModel(const QQmlListReference &changedEntries)
m_model->load(); m_model->load();
#if KNEWSTUFFCORE_VERSION_MAJOR==5 && KNEWSTUFFCORE_VERSION_MINOR>=67 #if KNEWSTUFFCORE_VERSION_MAJOR==5 && KNEWSTUFFCORE_VERSION_MINOR>=67
// If one new theme was installed, select the first color file in it // If a new theme was installed, select the first color file in it
if (changedEntries.count() > 1) { if (changedEntries.count() > 0) {
QStringList installedThemes; QStringList installedThemes;
const QString suffix = QStringLiteral(".colors"); const QString suffix = QStringLiteral(".colors");
......
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