diff --git a/kcmkwin/kwindecoration/kcm.cpp b/kcmkwin/kwindecoration/kcm.cpp index 4804ce3eea..b0a6f00221 100644 --- a/kcmkwin/kwindecoration/kcm.cpp +++ b/kcmkwin/kwindecoration/kcm.cpp @@ -356,11 +356,7 @@ void ConfigurationModule::save() if (index.isValid()) { config.writeEntry("library", index.data(Qt::UserRole + 4).toString()); const QString theme = index.data(Qt::UserRole +5).toString(); - if (theme.isEmpty()) { - config.deleteEntry("theme"); - } else { - config.writeEntry("theme", theme); - } + config.writeEntry("theme", theme); } } }