Review Request: Don't delete the KPart in the MainWindow destructor

Sandro Mani manisandro at gmail.com
Sat Dec 8 18:09:52 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107635/
-----------------------------------------------------------

Review request for KDE Utils.


Description
-------

Don't delete the KPart in the MainWindow destructor
Details:
This fixes the warning
KXMLGUIClient::~KXMLGUIClient: 0x1c77eb8 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
which appears when closing ark.
See also https://bugs.kde.org/show_bug.cgi?id=261538#c32


Diffs
-----

  app/mainwindow.cpp 59efe78515f6f6b2e0cb7bba4b4794c2cf86f846 

Diff: http://git.reviewboard.kde.org/r/107635/diff/


Testing
-------


Thanks,

Sandro Mani

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20121208/72057a65/attachment.html>


More information about the Kde-utils-devel mailing list