[KCollapsibleGroupBox] Fix QTimeLine::start warning at runtime
ClosedPublic

Authored by dfaure on Sep 27 2019, 12:31 AM.

Details

Summary

KCollapsibleGroupBox::overrideFocusPolicy calls toggle();toggle()
which starts the same QTimeLine twice before it has a change to end.
This prints out an annoying runtime warning.

Test Plan

kdialog --detailedsorry foo blah
This no longer shows

WARNING: QTimeLine::start: already running

Diff Detail

Repository
R236 KWidgetsAddons
Branch
2019_09_fix_qtimeline_warning (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 17078
Build 17096: arc lint + arc unit
dfaure created this revision.Sep 27 2019, 12:31 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptSep 27 2019, 12:31 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
dfaure requested review of this revision.Sep 27 2019, 12:31 AM
cfeck accepted this revision.Sep 27 2019, 9:53 AM
This revision is now accepted and ready to land.Sep 27 2019, 9:53 AM
dfaure closed this revision.Sep 28 2019, 11:12 AM