From 81a4518127d623f441e6a21238e9beea9d8ec725 Mon Sep 17 00:00:00 2001 From: Martin Aumueller <aumuell@reserv.at> Date: Fri, 13 Feb 2009 19:51:36 +0100 Subject: [PATCH] Revert "Fixes: Workaround a bug in kde 4.2.0." This reverts commit e08f1763b7534173fcb540c6ac981aae74d902c6. --- src/plugins/designer/formeditorplugin.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/plugins/designer/formeditorplugin.cpp b/src/plugins/designer/formeditorplugin.cpp index 862b29cb46e..823efb590d1 100644 --- a/src/plugins/designer/formeditorplugin.cpp +++ b/src/plugins/designer/formeditorplugin.cpp @@ -108,11 +108,7 @@ bool FormEditorPlugin::initialize(const QStringList &arguments, QString *error) addObject(m_factory); // Make sure settings pages and action shortcuts are registered - // 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); + FormEditorW::ensureInitStage(FormEditorW::RegisterPlugins); error->clear(); return true; -- GitLab