@ -119,6 +119,9 @@ bool KCMColors::downloadingFile() const
void KCMColors::knsEntryChanged(KNSCore::EntryWrapper *entry)
{
if (!entry) {
return;
}
m_model->load();
// If a new theme was installed, select the first color file in it
@ -119,6 +119,9 @@ KCMLookandFeel::~KCMLookandFeel()
void KCMLookandFeel::knsEntryChanged(KNSCore::EntryWrapper *wrapper)
if (!wrapper) {
const KNSCore::EntryInternal entry = wrapper->entry();
auto removeItemFromModel = [&entry, this]() {
const QString guessedPluginId = QFileInfo(entry.uninstalledFiles().constFirst()).fileName();