new name for the global config
This commit is contained in:
parent
24f527f3fe
commit
c498292a55
@ -35,7 +35,7 @@ void PlasmaComponentsPlugin::registerTypes(const char *uri)
|
|||||||
{
|
{
|
||||||
Q_ASSERT(uri == QLatin1String("org.kde.plasma.components"));
|
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");
|
const QString componentsPlatform = cg.readEntry("name", "desktop");
|
||||||
|
|
||||||
qmlRegisterType<QMenuProxy>(uri, 0, 1, "Menu");
|
qmlRegisterType<QMenuProxy>(uri, 0, 1, "Menu");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user