forked from qt-creator/qt-creator
Use simpler Plugin::initialize() when feasible
Change-Id: I567965d266f20526bda9f823e31a04b354d53fb1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -52,16 +52,11 @@ PythonPlugin *PythonPlugin::instance()
|
||||
return m_instance;
|
||||
}
|
||||
|
||||
bool PythonPlugin::initialize(const QStringList &arguments, QString *errorMessage)
|
||||
void PythonPlugin::initialize()
|
||||
{
|
||||
Q_UNUSED(arguments)
|
||||
Q_UNUSED(errorMessage)
|
||||
|
||||
d = new PythonPluginPrivate;
|
||||
|
||||
ProjectManager::registerProjectType<PythonProject>(PythonMimeType);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void PythonPlugin::extensionsInitialized()
|
||||
|
||||
Reference in New Issue
Block a user