Don't delete the KPart in the MainWindow destructor

Review Request #107635 - Created Dec. 8, 2012 and discarded

Information
Sandro Mani
ark
Reviewers
kdeutils
rkcosta
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

  
Rex Dieter
Sandro Mani
Albert Astals Cid
Raphael Kubo da Costa
Raphael Kubo da Costa
Ragnar Thomsen
Sandro Mani
Review request changed

Status: Discarded

Loading...