Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
49971813
Commit
49971813
authored
Jan 11, 2022
by
Alexander Lohnau
💬
Browse files
kcms/baloo: Disable KRunner baloo plugin if indexing is disabled
parent
ac46bdbe
Pipeline
#122965
passed with stage
in 2 minutes and 58 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
kcms/baloo/kcm.cpp
View file @
49971813
...
...
@@ -100,6 +100,11 @@ void ServerConfigModule::save()
QDBusConnection
::
sessionBus
().
asyncCall
(
message
);
}
// enable baloo runner if we have indexing enabled, otherwise disable it
KConfig
cfg
(
QStringLiteral
(
"krunnerrc"
));
KConfigGroup
grp
=
cfg
.
group
(
"Plugins"
);
grp
.
writeEntry
(
"baloosearchEnabled"
,
balooSettings
()
->
indexingEnabled
(),
KConfig
::
Notify
);
}
FilteredFolderModel
*
ServerConfigModule
::
filteredModel
()
const
...
...
Alexander Lohnau
💬
@alex
mentioned in commit
a7f78df3
·
Jan 13, 2022
mentioned in commit
a7f78df3
mentioned in commit a7f78df31db910b61882cb149cd473a1eccdb82d
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment