aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/qbs-setup-toolchains/xcodeprobe.cpp
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-10-24 11:41:18 -0700
committerJake Petroules <jake.petroules@qt.io>2017-11-22 16:15:21 +0000
commit1445ea6d69146b2c05efbfe142c557f9bf724025 (patch)
treebf18018fbd4254f1aeb624ab61a9862e4aa8a951 /src/app/qbs-setup-toolchains/xcodeprobe.cpp
parentc8d0d4fe646e60daea678602d7ca71e492fb65ad (diff)
STL compatibility: use push_back() instead of append()
...or operator<< if the argument was itself a list, or brace init where appropriate. This is a simple find and replace with manual sanity check. Change-Id: I94b79cbf3752192dd258001bf1dfcd46f58ca352 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/app/qbs-setup-toolchains/xcodeprobe.cpp')
-rw-r--r--src/app/qbs-setup-toolchains/xcodeprobe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/qbs-setup-toolchains/xcodeprobe.cpp b/src/app/qbs-setup-toolchains/xcodeprobe.cpp
index ce82dd5cf..c9f8f49fd 100644
--- a/src/app/qbs-setup-toolchains/xcodeprobe.cpp
+++ b/src/app/qbs-setup-toolchains/xcodeprobe.cpp
@@ -91,7 +91,7 @@ bool XcodeProbe::addDeveloperPath(const QString &path)
return false;
if (developerPaths.contains(path))
return false;
- developerPaths.append(path);
+ developerPaths.push_back(path);
qbsInfo() << Tr::tr("Added developer path %1").arg(path);
return true;
}