Remove KXMLGUIClient warning in Ark
Review Request #120783 - Created Oct. 24, 2014 and submitted
When Ark is run from a terminal, the following warning is displayed on exit:
ark(6384)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x101cf80 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
The warning is fixed by just removing the client from the KXMLGUIFactory, in the
A similar fix has been done in other apps, e.g. see Kate.
Compile and run Ark from Konsole. The warning is gone.
Since this is a bug fix, please commit it to KDE/4.14 and merge to master with the usual parameters (
git merge --log --edit --no-ff KDE/4.14). Note that on KDE/4.14 you'll need to add the KXMLGUIFactory include again, since it was removed when I reverted /r/120216 in that branch.