D5123: Try to fix call to KXMLGuiWindow::setupGUI
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Wed Dec 4 12:35:03 GMT 2019
kossebau added a comment.
Ran into this again this week, wondering why F1 shortcut was still working after assigning another shortcut (and then found there are mutiple instances).
Once I had a patch, it triggered memories, and indeed there is this one. 9c4b8e752937dd4523b04b57f237ac20c3bc3e45 <https://phabricator.kde.org/R32:9c4b8e752937dd4523b04b57f237ac20c3bc3e45> should be the correct fix, by simply doing a `createGUI(nullptr);` call right after `setupGUI()`, so with a `nullptr`, an approach taking also in other KParts::MainWindow usages during startup, before going to actually load any document, e.g. on user request, and thus creating a kpart.
To: kfunk, #kdevelop, mlaurent, dfaure
Cc: kossebau, apol, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel