Use proper default containment name

Fixes the case when loading the default containment would fail because
the default one couldn't be found

Reviewed-by: Sebastian Kügler
This commit is contained in:
Martin Klapetek 2013-10-23 15:24:33 +02:00
parent 5e29c61fb7
commit 17e95850fa

View File

@ -403,7 +403,7 @@ Containment *CoronaPrivate::addContainment(const QString &name, const QVariantLi
if (pluginName.isEmpty() || pluginName == "default") {
// default to the desktop containment
pluginName = desktopDefaultsConfig.readEntry("Containment", "org.kde.desktop");
pluginName = desktopDefaultsConfig.readEntry("Containment", "org.kde.desktopcontainment");
}
bool loadingNull = pluginName == "null";