forked from qt-creator/qt-creator
make profile evaluator re-entrant
the last step was moving the statics to a common class which is initialized at startup.
This commit is contained in:
@@ -93,6 +93,8 @@ bool Qt4ProjectManagerPlugin::initialize(const QStringList &arguments, QString *
|
||||
{
|
||||
Q_UNUSED(arguments)
|
||||
|
||||
ProFileEvaluator::initialize();
|
||||
|
||||
Core::ICore *core = Core::ICore::instance();
|
||||
if (!core->mimeDatabase()->addMimeTypes(QLatin1String(":qt4projectmanager/Qt4ProjectManager.mimetypes.xml"), errorMessage))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user