Paste P454

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on Aug 21 2019, 12:21 PM.
commit 9f7fc733491f53f45f15d3bc122d2bd305aeac7d
Author: David Edmundson <kde@davidedmundson.co.uk>
Date: Wed Aug 21 13:13:48 2019 +0100
Fix runnertest exiting early
Summary:
Some runner uses KIO, which creates a quitLock which kills the application
early
Reviewers: #plasma, broulik
Reviewed By: #plasma, broulik
Subscribers: kde-frameworks-devel
Tags: #frameworks
Differential Revision: https://phabricator.kde.org/D23314
diff --git a/tests/runnertest.cpp b/tests/runnertest.cpp
index d488111..b9b5ab2 100644
--- a/tests/runnertest.cpp
+++ b/tests/runnertest.cpp
@@ -29,6 +29,7 @@ using namespace Plasma;
int main(int argc, char **argv)
{
QCoreApplication app(argc, argv);
+ app.setQuitLockEnabled(false);
QCommandLineParser parser;
parser.addPositionalArgument(QStringLiteral("query"), QStringLiteral("words to query"));
davidedmundson edited the content of this paste. (Show Details)Aug 21 2019, 12:21 PM
davidedmundson changed the title of this paste from untitled to Masterwork From Distant Lands.