diff options
author | Tim Jenssen <tim.jenssen@qt.io> | 2017-02-22 15:09:35 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2017-02-22 16:25:09 +0000 |
commit | 2631ffabd5a7955a40b9779b0d52af64e3bd3a60 (patch) | |
tree | a030ea11d0d561b720d0e0d352b4a0fc728a6758 /src/plugins/autotoolsprojectmanager | |
parent | 005ca71cac65b7c766d814b97b830e2af1c7aa53 (diff) | |
download | qt-creator-2631ffabd5a7955a40b9779b0d52af64e3bd3a60.tar.gz |
Remove spaces in initializer lists
Format initializer lists code style like.
Change-Id: Ib82c235e4ba7dc75ee96a7abc0c47eff7b0a9013
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager')
5 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/autotoolsprojectmanager/autogenstep.cpp b/src/plugins/autotoolsprojectmanager/autogenstep.cpp index d41440c91a..09e9c9a75d 100644 --- a/src/plugins/autotoolsprojectmanager/autogenstep.cpp +++ b/src/plugins/autotoolsprojectmanager/autogenstep.cpp @@ -63,7 +63,7 @@ QList<BuildStepInfo> AutogenStepFactory::availableSteps(BuildStepList *parent) c return {}; QString display = tr("Autogen", "Display name for AutotoolsProjectManager::AutogenStep id."); - return {{ AUTOGEN_STEP_ID, display }}; + return {{AUTOGEN_STEP_ID, display}}; } BuildStep *AutogenStepFactory::create(BuildStepList *parent, Core::Id id) diff --git a/src/plugins/autotoolsprojectmanager/autoreconfstep.cpp b/src/plugins/autotoolsprojectmanager/autoreconfstep.cpp index 099e9aa1ab..5512f5ecb4 100644 --- a/src/plugins/autotoolsprojectmanager/autoreconfstep.cpp +++ b/src/plugins/autotoolsprojectmanager/autoreconfstep.cpp @@ -62,7 +62,7 @@ QList<BuildStepInfo> AutoreconfStepFactory::availableSteps(BuildStepList *parent return {}; QString display = tr("Autoreconf", "Display name for AutotoolsProjectManager::AutoreconfStep id."); - return {{ AUTORECONF_STEP_ID, display }}; + return {{AUTORECONF_STEP_ID, display}}; } BuildStep *AutoreconfStepFactory::create(BuildStepList *parent, Core::Id id) diff --git a/src/plugins/autotoolsprojectmanager/configurestep.cpp b/src/plugins/autotoolsprojectmanager/configurestep.cpp index cf1739b6e0..fbfd5f47e6 100644 --- a/src/plugins/autotoolsprojectmanager/configurestep.cpp +++ b/src/plugins/autotoolsprojectmanager/configurestep.cpp @@ -77,7 +77,7 @@ QList<BuildStepInfo> ConfigureStepFactory::availableSteps(BuildStepList *parent) return {}; QString display = tr("Configure", "Display name for AutotoolsProjectManager::ConfigureStep id."); - return {{ CONFIGURE_STEP_ID, display }}; + return {{CONFIGURE_STEP_ID, display}}; } BuildStep *ConfigureStepFactory::create(BuildStepList *parent, Core::Id id) diff --git a/src/plugins/autotoolsprojectmanager/makefileparser.cpp b/src/plugins/autotoolsprojectmanager/makefileparser.cpp index 54a375c67b..74e29054ec 100644 --- a/src/plugins/autotoolsprojectmanager/makefileparser.cpp +++ b/src/plugins/autotoolsprojectmanager/makefileparser.cpp @@ -400,7 +400,7 @@ QStringList MakefileParser::targetValues(bool *hasVariables) void MakefileParser::appendHeader(QStringList &list, const QDir &dir, const QString &fileName) { - const char *const headerExtensions[] = { ".h", ".hh", ".hg", ".hxx", ".hpp", 0 }; + const char *const headerExtensions[] = {".h", ".hh", ".hg", ".hxx", ".hpp", 0}; int i = 0; while (headerExtensions[i] != 0) { const QString headerFile = fileName + QLatin1String(headerExtensions[i]); diff --git a/src/plugins/autotoolsprojectmanager/makestep.cpp b/src/plugins/autotoolsprojectmanager/makestep.cpp index f3fe8ca174..99658dd714 100644 --- a/src/plugins/autotoolsprojectmanager/makestep.cpp +++ b/src/plugins/autotoolsprojectmanager/makestep.cpp @@ -67,7 +67,7 @@ QList<BuildStepInfo> MakeStepFactory::availableSteps(BuildStepList *parent) cons if (parent->target()->project()->id() != AUTOTOOLS_PROJECT_ID) return {}; - return {{ MAKE_STEP_ID, tr("Make", "Display name for AutotoolsProjectManager::MakeStep id.") }}; + return {{MAKE_STEP_ID, tr("Make", "Display name for AutotoolsProjectManager::MakeStep id.")}}; } BuildStep *MakeStepFactory::create(BuildStepList *parent, Core::Id id) |