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:
parent
5e29c61fb7
commit
17e95850fa
@ -403,7 +403,7 @@ Containment *CoronaPrivate::addContainment(const QString &name, const QVariantLi
|
|||||||
|
|
||||||
if (pluginName.isEmpty() || pluginName == "default") {
|
if (pluginName.isEmpty() || pluginName == "default") {
|
||||||
// default to the desktop containment
|
// default to the desktop containment
|
||||||
pluginName = desktopDefaultsConfig.readEntry("Containment", "org.kde.desktop");
|
pluginName = desktopDefaultsConfig.readEntry("Containment", "org.kde.desktopcontainment");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool loadingNull = pluginName == "null";
|
bool loadingNull = pluginName == "null";
|
||||||
|
Loading…
Reference in New Issue
Block a user