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.

REPOSITORY
  R33 KDevPlatform

REVISION DETAIL
  https://phabricator.kde.org/D5123

To: kfunk, #kdevelop, mlaurent, dfaure
Cc: kossebau, apol, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20191204/727b3662/attachment.html>


More information about the KDevelop-devel mailing list