D23108: Add KWindowSystem::setMainWindow(QWindow *) overload

David Faure noreply at phabricator.kde.org
Thu Aug 22 09:40:31 BST 2019


dfaure marked 3 inline comments as done.
dfaure added inline comments.

INLINE COMMENTS

> zzag wrote in kwindowsystem.cpp:490
> Each time this method is called a new foreign QWindow object will be created. Can you please explain why leaking those objects is okay?

Ah I didn't realize that QWindow::fromWinId was allocating a QWindow [IMHO it should have been called createFromWinId, then], but indeed it's logical.

Fixed.

REPOSITORY
  R278 KWindowSystem

REVISION DETAIL
  https://phabricator.kde.org/D23108

To: dfaure, broulik, davidedmundson, zzag
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190822/521b10d2/attachment.html>


More information about the Kde-frameworks-devel mailing list