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:
@@ -524,14 +524,9 @@ DiffEditorPlugin::~DiffEditorPlugin()
|
||||
s_instance = nullptr;
|
||||
}
|
||||
|
||||
bool DiffEditorPlugin::initialize(const QStringList &arguments, QString *errorMessage)
|
||||
void DiffEditorPlugin::initialize()
|
||||
{
|
||||
d = new DiffEditorPluginPrivate;
|
||||
|
||||
Q_UNUSED(arguments)
|
||||
Q_UNUSED(errorMessage)
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
FutureSynchronizer *DiffEditorPlugin::futureSynchronizer()
|
||||
|
||||
Reference in New Issue
Block a user