[rkward/frameworks] rkward: Completely experimental blind guess: Try to work around strange import/export menu issue reported by Meik.
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Wed Sep 14 18:08:30 UTC 2016
Git commit d675e69bcc1aff8cc9615a4c23d9d11420010867 by Thomas Friedrichsmeier.
Committed on 14/09/2016 at 18:07.
Pushed by tfry into branch 'frameworks'.
Completely experimental blind guess: Try to work around strange import/export menu issue reported by Meik.
M +2 -3 rkward/rkward.cpp
http://commits.kde.org/rkward/d675e69bcc1aff8cc9615a4c23d9d11420010867
diff --git a/rkward/rkward.cpp b/rkward/rkward.cpp
index 2b3671f..8c36993 100644
--- a/rkward/rkward.cpp
+++ b/rkward/rkward.cpp
@@ -153,9 +153,6 @@ RKWardMainWindow::RKWardMainWindow () : KParts::MainWindow ((QWidget *)0, (Qt::W
createShellGUI (true);
RKXMLGUISyncer::self ()->watchXMLGUIClientUIrc (this);
- proxy_import->setMenu (dynamic_cast<QMenu*>(guiFactory ()->container ("import", this)));
- proxy_export->setMenu (dynamic_cast<QMenu*>(guiFactory ()->container ("export", this)));
-
RKComponentMap::initialize ();
// stuff which should wait until the event loop is running
@@ -205,6 +202,8 @@ void RKWardMainWindow::doPostInit () {
QString evaluate_code = RKGlobals::startup_options.take ("evaluate").toString ();
initPlugins ();
+ proxy_import->setMenu (dynamic_cast<QMenu*>(guiFactory ()->container ("import", this)));
+ proxy_export->setMenu (dynamic_cast<QMenu*>(guiFactory ()->container ("export", this)));
gui_rebuild_locked = false;
show ();
More information about the rkward-tracker
mailing list