forked from qt-creator/qt-creator
Coco: Use the simpler IPlugin::initializer overload
Change-Id: I97103dd65f81bb40bd47a55f7c827c8e98e3f19a Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -104,7 +104,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool initialize(const QStringList &arguments, QString *errorString);
|
void initialize() final;
|
||||||
void addEntryToProjectSettings();
|
void addEntryToProjectSettings();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@@ -128,11 +128,8 @@ static void addBuildStep(Target *target)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CocoPlugin::initialize(const QStringList &arguments, QString *errorString)
|
void CocoPlugin::initialize()
|
||||||
{
|
{
|
||||||
Q_UNUSED(arguments)
|
|
||||||
Q_UNUSED(errorString)
|
|
||||||
|
|
||||||
IOptionsPage::registerCategory(
|
IOptionsPage::registerCategory(
|
||||||
"I.Coco",
|
"I.Coco",
|
||||||
QCoreApplication::translate("Coco", "Coco"),
|
QCoreApplication::translate("Coco", "Coco"),
|
||||||
@@ -152,8 +149,6 @@ bool CocoPlugin::initialize(const QStringList &arguments, QString *errorString)
|
|||||||
});
|
});
|
||||||
|
|
||||||
initLanguageServer();
|
initLanguageServer();
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CocoPlugin::addEntryToProjectSettings()
|
void CocoPlugin::addEntryToProjectSettings()
|
||||||
|
Reference in New Issue
Block a user