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:
@@ -158,12 +158,9 @@ void HelpPlugin::showHelpUrl(const QUrl &url, Core::HelpManager::HelpViewerLocat
|
||||
dd->showHelpUrl(url, location);
|
||||
}
|
||||
|
||||
bool HelpPlugin::initialize(const QStringList &arguments, QString *error)
|
||||
void HelpPlugin::initialize()
|
||||
{
|
||||
Q_UNUSED(arguments)
|
||||
Q_UNUSED(error)
|
||||
dd = new HelpPluginPrivate;
|
||||
return true;
|
||||
}
|
||||
|
||||
HelpPluginPrivate::HelpPluginPrivate()
|
||||
|
||||
Reference in New Issue
Block a user