Keep kioclient alive whilst we're showing error messages
ClosedPublic

Authored by davidedmundson on Dec 18 2018, 1:05 PM.

Details

Summary

QApplication::quit will close any open windows including error messages.

This keeps the process alive whilst we have a top level window.

Test Plan

Ran a kioclient script that produced an error dialog
It stayed on my screen

Diff Detail

Repository
R126 KDE CLI Utilities
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 6130
Build 6148: arc lint + arc unit
davidedmundson created this revision.Dec 18 2018, 1:05 PM
Restricted Application added a project: Plasma. · View Herald TranscriptDec 18 2018, 1:05 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Dec 18 2018, 1:05 PM
broulik added inline comments.
kioclient/kioclient.cpp
399

isEmpty()

davidedmundson marked an inline comment as done.Dec 18 2018, 1:40 PM
broulik accepted this revision.Dec 18 2018, 1:41 PM
This revision is now accepted and ready to land.Dec 18 2018, 1:41 PM
This revision was automatically updated to reflect the committed changes.