KRun: fix runtime warning when widget is null
ClosedPublic

Authored by dfaure on Aug 14 2019, 9:10 AM.

Details

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

Diff Detail

Repository
R241 KIO
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 15074
Build 15092: arc lint + arc unit
dfaure created this revision.Aug 14 2019, 9:10 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptAug 14 2019, 9:10 AM
dfaure requested review of this revision.Aug 14 2019, 9:10 AM
vkrause accepted this revision.Aug 14 2019, 9:51 AM
This revision is now accepted and ready to land.Aug 14 2019, 9:51 AM
dfaure closed this revision.Aug 14 2019, 10:03 AM