<table><tr><td style="">broulik updated this revision to Diff 36819.<br />broulik 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/D13774">View Revision</a></tr></table><br /><div><div><ul class="remarkup-list">
<li class="remarkup-list-item">Always update <tt style="background: #ebebeb; font-size: 13px;">m_window</tt></li>
</ul>

<p><tt style="background: #ebebeb; font-size: 13px;">QPointer</tt> still needed. Could be refactored to also unregister on destruction but that requires storing the <tt style="background: #ebebeb; font-size: 13px;">WId</tt> separately as in <tt style="background: #ebebeb; font-size: 13px;">QObject::destroyed</tt> the <tt style="background: #ebebeb; font-size: 13px;">~QWindow</tt> already ran and as such <tt style="background: #ebebeb; font-size: 13px;">winId()</tt> cannot be accessed</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R135 Integration for Qt applications in Plasma</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D13774?vs=36808&id=36819">https://phabricator.kde.org/D13774?vs=36808&id=36819</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13774">https://phabricator.kde.org/D13774</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/platformtheme/qdbusmenubar.cpp<br />
src/platformtheme/qdbusmenubar_p.h</div></div></div><br /><div><strong>To: </strong>broulik, Plasma, davidedmundson<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>