Revert "Revert "Fixes: Workaround a bug in kde 4.2.0.""

This reverts commit 81a4518127.
This commit is contained in:
hjk
2009-02-18 11:56:55 +01:00
parent f3141d99c4
commit 099146a8f9

View File

@@ -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;