check for window existence
ClosedPublic

Authored by mart on Mar 16 2020, 9:48 AM.

Details

Summary

not always after componentcompleted a window is already there.
if is not there, do the same check whenthe item eventually gets a window

Test Plan

doesn't crash

Diff Detail

Repository
R169 Kirigami
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mart created this revision.Mar 16 2020, 9:48 AM
Restricted Application added a project: Kirigami. · View Herald TranscriptMar 16 2020, 9:48 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart requested review of this revision.Mar 16 2020, 9:48 AM
ahiemstra accepted this revision.Mar 16 2020, 9:58 AM
ahiemstra added a subscriber: ahiemstra.
ahiemstra added inline comments.
src/shadowedrectangle.cpp
178

Just a minor nitpick: Please move this to the end of the file so that the method order in the source matches that of the header.

This revision is now accepted and ready to land.Mar 16 2020, 9:58 AM
This revision was automatically updated to reflect the committed changes.
broulik added inline comments.
src/shadowedrectangle.h
161

Missing override