D5123: Try to fix call to KXMLGuiWindow::setupGUI

Kevin Funk noreply at phabricator.kde.org
Tue Mar 21 22:14:43 UTC 2017


kfunk created this revision.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  KXmlGuiWindow documentation tells us to not pass the 'Create' flag:
  
    * NOTE: when using KParts::MainWindow, remove this flag from
    * the
    * setupGUI call, since you'll be using createGUI(part) instead.
    * @code
    *     setupGUI(ToolBar | Keys | StatusBar | Save);
    * @endcode
  
  This in fact fixes a real problem. Before this patch duplicate standard
  actions (e.g. the 'help' actions are created).

REPOSITORY
  R33 KDevPlatform

BRANCH
  5.1

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

AFFECTED FILES
  shell/mainwindow.cpp

To: kfunk
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170321/c23ad495/attachment.html>


More information about the KDevelop-devel mailing list