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

[krunner] Avoid a uneeded pointless config parse

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:
parent e2d372d3
......@@ -60,7 +60,7 @@ View::View(QWindow *)
//used only by screen readers
m_config = KConfigGroup(KSharedConfig::openConfig(QStringLiteral("krunnerrc")), "General");
m_config = KConfigGroup(KSharedConfig::openConfig(), "General");
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