diff options
author | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2016-01-15 13:12:20 +0300 |
---|---|---|
committer | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2016-01-15 13:04:01 +0000 |
commit | a97d4d23e0bdce76cf523a321505e75e0231fcf9 (patch) | |
tree | e24f5ce691f09618d7d348a787401655939e8319 /src/controls/qquickstyleselector.cpp | |
parent | 38366e0d6371aaa5e5058c2d35ef42172359e3ed (diff) |
Controls: replace foreach with range-based for
Change-Id: I3ad37008e2cdcde62efecfb5e2ec2373026c4439
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/controls/qquickstyleselector.cpp')
-rw-r--r-- | src/controls/qquickstyleselector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/qquickstyleselector.cpp b/src/controls/qquickstyleselector.cpp index 6779836c..3be5eb3d 100644 --- a/src/controls/qquickstyleselector.cpp +++ b/src/controls/qquickstyleselector.cpp @@ -113,7 +113,7 @@ static QString selectionHelper(const QString &path, const QString &fileName, con */ Q_ASSERT(path.isEmpty() || path.endsWith(QLatin1Char('/'))); - foreach (const QString &s, selectors) { + for (const QString &s : selectors) { QString prospectiveBase = path + s + QLatin1Char('/'); QStringList remainingSelectors = selectors; remainingSelectors.removeAll(s); |