KRun: fix runtime warning when widget is null
ClosedPublic

Authored by dfaure on Wed, Aug 14, 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.Wed, Aug 14, 9:10 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptWed, Aug 14, 9:10 AM
dfaure requested review of this revision.Wed, Aug 14, 9:10 AM
vkrause accepted this revision.Wed, Aug 14, 9:51 AM
This revision is now accepted and ready to land.Wed, Aug 14, 9:51 AM
dfaure closed this revision.Wed, Aug 14, 10:03 AM