[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [rkward/frameworks] rkward: Completely experimental blind guess: Try to work around strange import/e
From:       Thomas Friedrichsmeier <thomas.friedrichsmeier () ruhr-uni-bochum ! de>
Date:       2016-09-14 18:08:30
Message-ID: E1bkEbm-0005dn-3s () code ! kde ! org
[Download RAW message or body]

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 ();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic