Commit 0729ae01 authored by con's avatar con
Browse files

Lazily initialize designer again.

People with KDE 4.2.0 please update to 4.2.1 ...

Reviewed-by: dt
parent eb387087
...@@ -100,12 +100,7 @@ bool FormEditorPlugin::initialize(const QStringList &arguments, QString *error) ...@@ -100,12 +100,7 @@ bool FormEditorPlugin::initialize(const QStringList &arguments, QString *error)
m_factory = new FormEditorFactory; m_factory = new FormEditorFactory;
addObject(m_factory); addObject(m_factory);
// Make sure settings pages and action shortcuts are registered FormEditorW::ensureInitStage(FormEditorW::RegisterPlugins);
// TODO we don't want to do a full initialization here,
// we actually want to call ensureInitStage(FormEditorW::RegisterPlugins)
// But due to a bug in kde 4.2.0 this crashes then when opening the file dialog
// This should be removed after 4.2.1 is out
FormEditorW::ensureInitStage(FormEditorW::FullyInitialized);
error->clear(); error->clear();
return true; return true;
......
Markdown is supported
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