Commit d675e69b authored by Thomas Friedrichsmeier's avatar Thomas Friedrichsmeier
Browse files

Completely experimental blind guess: Try to work around strange import/export...

Completely experimental blind guess: Try to work around strange import/export menu issue reported by Meik.
parent 2770fe4e
......@@ -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 ();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment