D5123: Try to fix call to KXMLGuiWindow::setupGUI

"Friedrich W. H. Kossebau" <noreply-Buy57tU0AsCGxO/ty/[email protected]>
Newsgroups gmane.comp.kde.devel.kdevelop
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.