Don't delete the KPart in the MainWindow destructor

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

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

  
Loading...