D23147: KRun: fix runtime warning when widget is null
David Faure
noreply at phabricator.kde.org
Wed Aug 14 10:10:57 BST 2019
dfaure created this revision.
dfaure added reviewers: nicolasfella, vkrause.
Herald added a project: Frameworks.
dfaure requested review of this revision.
REVISION SUMMARY
I wanted the connection to be broken if the widget was deleted early,
but if there's no widget then Qt warns about a null receiver. Use qApp
as receiver in that case, just to have something non-null.
TEST PLAN
kde-open5 file.pdf
REPOSITORY
R241 KIO
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D23147
AFFECTED FILES
src/widgets/krun.cpp
To: dfaure, nicolasfella, vkrause
Cc: kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190814/3163da6e/attachment.html>
More information about the Kde-frameworks-devel
mailing list