aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonbuildsystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/python/pythonbuildsystem.cpp')
-rw-r--r--src/plugins/python/pythonbuildsystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonbuildsystem.cpp b/src/plugins/python/pythonbuildsystem.cpp
index 55379d90d00..ea3b9f96593 100644
--- a/src/plugins/python/pythonbuildsystem.cpp
+++ b/src/plugins/python/pythonbuildsystem.cpp
@@ -406,7 +406,7 @@ static void expandEnvironmentVariables(const Environment &env, QString &string)
const QString value = env.value(match.captured(1));
string.replace(index, match.capturedLength(), value);
- index += value.length();
+ index += value.size();
index = string.indexOf(candidate, index, &match);
}