<table><tr><td style="">dfaure updated this revision to Diff 63530.<br />dfaure added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D23088">View Revision</a></tr></table><br /><div><div><p>Add test for QWidget overload and fix crash</p>
<p>I found out a comment in KWindowSystem::setMainWindow which said this was necessary<br />
(urgh, bad API), so doing the same here, after the unittest showed that windowHandle()<br />
is indeed nullptr otherwise.</p>
<p>If this commit is OK, then KWindowSystem::setMainWindow() is the (only) other one<br />
which will need similar treatment.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R278 KWindowSystem</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D23088?vs=63527&id=63530">https://phabricator.kde.org/D23088?vs=63527&id=63530</a></div></div><br /><div><strong>BRANCH</strong><div><div>2019_setNewStartupId</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23088">https://phabricator.kde.org/D23088</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/kstartupinfo_unittest.cpp<br />
src/kstartupinfo.cpp<br />
src/kstartupinfo.h</div></div></div><br /><div><strong>To: </strong>dfaure, broulik, davidedmundson, zzag<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns<br /></div>