Commit cb8e1f7b authored by David Edmundson's avatar David Edmundson
Browse files

[baloosearchrunner] Disable session management

As BalooSearchRunner regrettably is a QGuiApplication is connects to our
X SessionManager.

By default Qt apps behave like "applications" and this can end up on our
auto-restart list if the user saves their session.

Given this is DBus activated this doesn't make sense.
parent 783e856e
......@@ -49,6 +49,7 @@ int main (int argc, char **argv)
if (!config.fileIndexingEnabled()) {
return -1;
QApplication app(argc, argv); //KRun needs widgets for error message boxes
SearchRunner r;
Supports Markdown
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