aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/generator/iarew/iarewsettingspropertygroup.cpp
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2019-08-28 17:58:38 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2019-09-23 14:26:03 +0000
commitef540dc823b84be61562c83997eea42d0adf9cab (patch)
tree1ef4f7d2bc9a9a3681044a476344c34379d48462 /src/plugins/generator/iarew/iarewsettingspropertygroup.cpp
parent9f3a9830162f379d6f856c84668c3664df6d6477 (diff)
baremetal: Change order for input parameters of addOptionsGroup() method
... and to make the 'version' as latest parameter with default value, that simplifies usage of that method a bit. Change-Id: Iad1e5097ee1d46d86d745c50090e2cd0e7343de9 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/generator/iarew/iarewsettingspropertygroup.cpp')
-rw-r--r--src/plugins/generator/iarew/iarewsettingspropertygroup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/generator/iarew/iarewsettingspropertygroup.cpp b/src/plugins/generator/iarew/iarewsettingspropertygroup.cpp
index de6fae45a..3e7b6dae7 100644
--- a/src/plugins/generator/iarew/iarewsettingspropertygroup.cpp
+++ b/src/plugins/generator/iarew/iarewsettingspropertygroup.cpp
@@ -96,11 +96,11 @@ void IarewSettingsPropertyGroup::setDataDebugInfo(int debugInfo)
void IarewSettingsPropertyGroup::addOptionsGroup(
QByteArray name,
- QVariant version,
- const QVariantList &states)
+ const QVariantList &states,
+ int version)
{
m_dataPropertyGroup->appendChild<IarewOptionPropertyGroup>(
- std::move(name), std::move(version), states);
+ std::move(name), states, std::move(version));
}
} // namespace qbs