diff --git a/src/plugins/designer/formeditorplugin.cpp b/src/plugins/designer/formeditorplugin.cpp index 823efb590d19d1be3a1ad12f6cf58247aad510e5..862b29cb46e976583b6e5605964bc1baf30425ce 100644 --- a/src/plugins/designer/formeditorplugin.cpp +++ b/src/plugins/designer/formeditorplugin.cpp @@ -108,7 +108,11 @@ bool FormEditorPlugin::initialize(const QStringList &arguments, QString *error) 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(); return true;