Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
0729ae01
Commit
0729ae01
authored
Mar 24, 2009
by
con
Browse files
Lazily initialize designer again.
People with KDE 4.2.0 please update to 4.2.1 ... Reviewed-by: dt
parent
eb387087
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/designer/formeditorplugin.cpp
View file @
0729ae01
...
...
@@ -100,12 +100,7 @@ bool FormEditorPlugin::initialize(const QStringList &arguments, QString *error)
m_factory
=
new
FormEditorFactory
;
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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment