new name for the global config

This commit is contained in:
Marco Martin 2011-11-08 17:22:01 +01:00
parent 24f527f3fe
commit c498292a55

View File

@ -35,7 +35,7 @@ void PlasmaComponentsPlugin::registerTypes(const char *uri)
{
Q_ASSERT(uri == QLatin1String("org.kde.plasma.components"));
KConfigGroup cg(KSharedConfig::openConfig("plasmarc"), "Plasma-components-platform");
KConfigGroup cg(KSharedConfig::openConfig("kdeclarativerc"), "Components-platform");
const QString componentsPlatform = cg.readEntry("name", "desktop");
qmlRegisterType<QMenuProxy>(uri, 0, 1, "Menu");