Commit 6dc04ef0 authored by David Edmundson's avatar David Edmundson

[krunner] Avoid a uneeded pointless config parse

Summary:
We are krunner, our default config will be krunnerrc, we can load the
instance we've already loaded in the QPT instead of doing it again.

Reviewers: #plasma, apol, broulik

Reviewed By: #plasma, apol, broulik

Subscribers: apol, plasma-devel

CCBUG: 416145
Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28368
parent e2d372d3
......@@ -60,7 +60,7 @@ View::View(QWindow *)
//used only by screen readers
setTitle(i18n("KRunner"));
m_config = KConfigGroup(KSharedConfig::openConfig(QStringLiteral("krunnerrc")), "General");
m_config = KConfigGroup(KSharedConfig::openConfig(), "General");
loadConfig();
......
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