forked from qt-creator/qt-creator
CMake: Fix warning about unused parameter
Change-Id: I008a9e6193503a2d2761675921b6bc673ea5333d Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -241,8 +241,11 @@ CMakeRunConfigurationFactory::CMakeRunConfigurationFactory(QObject *parent) :
|
|||||||
addSupportedProjectType(CMakeProjectManager::Constants::CMAKEPROJECT_ID);
|
addSupportedProjectType(CMakeProjectManager::Constants::CMAKEPROJECT_ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
QList<RunConfigurationCreationInfo> CMakeRunConfigurationFactory::availableCreators(Target *parent, IRunConfigurationFactory::CreationMode mode) const
|
QList<RunConfigurationCreationInfo>
|
||||||
|
CMakeRunConfigurationFactory::availableCreators(Target *parent,
|
||||||
|
IRunConfigurationFactory::CreationMode mode) const
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(mode);
|
||||||
CMakeProject *project = static_cast<CMakeProject *>(parent->project());
|
CMakeProject *project = static_cast<CMakeProject *>(parent->project());
|
||||||
const QStringList titles = project->buildTargetTitles(true);
|
const QStringList titles = project->buildTargetTitles(true);
|
||||||
return Utils::transform(titles, [this](const QString &title) { return convert(title, title); });
|
return Utils::transform(titles, [this](const QString &title) { return convert(title, title); });
|
||||||
|
Reference in New Issue
Block a user