diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-05-22 17:16:36 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-05-26 11:47:53 +0000 |
commit | 25f2f8e1ee43c2656a9c273f541a3735a7841273 (patch) | |
tree | 1cf4d8c6765c3e29d232112fe38f54b1519797a8 /src/plugins/coreplugin/coreplugin.cpp | |
parent | b5e3f2e57b38e0d3476da969b093aa36ebb61e3e (diff) | |
download | qt-creator-25f2f8e1ee43c2656a9c273f541a3735a7841273.tar.gz |
IWizardFactory: Create wizards with factoryCreators
Do not use the object pool to hold potential wizards. Register
FactoryCreator functions with IWizardFactory instead and use
those to create the wizards when necessary.
This saves us a couple of cycles during startup since we can now
delay construction of all wizards and it makes us more flexible
wrt. managing the lifecycle of the wizard factories.
Change-Id: I95d6a6dfcdf0fd995e1934a9fefcd96c6a676753
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/coreplugin/coreplugin.cpp')
-rw-r--r-- | src/plugins/coreplugin/coreplugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/coreplugin.cpp b/src/plugins/coreplugin/coreplugin.cpp index ffa050e5a0..e4ce23df18 100644 --- a/src/plugins/coreplugin/coreplugin.cpp +++ b/src/plugins/coreplugin/coreplugin.cpp @@ -185,6 +185,8 @@ bool CorePlugin::initialize(const QStringList &arguments, QString *errorMessage) InfoBar::initializeGloballySuppressed(); } + IWizardFactory::initialize(); + // Make sure we respect the process's umask when creating new files SaveFile::initializeUmask(); |