Paste P219

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on May 16 2018, 8:49 AM.
diff --git a/src/dbusrunner.cpp b/src/dbusrunner.cpp
index f89b05e..65ae486 100644
--- a/src/dbusrunner.cpp
+++ b/src/dbusrunner.cpp
@@ -160,7 +160,7 @@ void DBusRunner::match(Plasma::RunnerContext &context)
context.addMatch(m);
};
- });
+ }, Qt::DirectConnection); // process reply in the watcher's thread (aka the one running ::match not the one owning the runner)
}
//we're done matching when every service replies
for (auto w : watchers) {
davidedmundson edited the content of this paste. (Show Details)May 16 2018, 8:49 AM
davidedmundson changed the title of this paste from untitled to Masterwork From Distant Lands.
davidedmundson updated the paste's language from autodetect to autodetect.