get shell package from config

This commit is contained in:
Marco Martin 2013-03-05 16:44:13 +01:00
parent 0033cb5513
commit 9e2240bd8c

View File

@ -319,8 +319,9 @@ CoronaPrivate::CoronaPrivate(Corona *corona)
actions(corona)
{
//TODO: make Package path configurable
KConfigGroup config(KSharedConfig::openConfig(), "General");
package = Plasma::PluginLoader::self()->loadPackage("Plasma/Shell");
package.setPath("org.kde.desktop");
package.setPath(config.readEntry("shell", "org.kde.desktop"));
if (QCoreApplication::instance()) {
configName = QCoreApplication::instance()->applicationName() + "-appletsrc";