Commit 23534a3b authored by David Edmundson's avatar David Edmundson

[krunner] Avoid a config pointless extra config load

Test Plan: #plasma

Reviewers: apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

CCBUG: 416145

Differential Revision: https://phabricator.kde.org/D28364
parent a8fb4ce8
......@@ -73,7 +73,7 @@ View::View(QWindow *)
connect(m_qmlObj, &KDeclarative::QmlObject::finished, this, &View::objectIncubated);
KPackage::Package package = KPackage::PackageLoader::self()->loadPackage(QStringLiteral("Plasma/LookAndFeel"));
KConfigGroup cg(KSharedConfig::openConfig(QStringLiteral("kdeglobals")), "KDE");
KConfigGroup cg(KSharedConfig::openConfig(), "KDE");
const QString packageName = cg.readEntry("LookAndFeelPackage", QString());
if (!packageName.isEmpty()) {
package.setPath(packageName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment