summaryrefslogtreecommitdiff
path: root/src/libs/utils/environment.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2014-07-17 12:42:04 +0200
committerEike Ziller <eike.ziller@digia.com>2014-07-17 12:42:04 +0200
commite7ea94b6883816b467ba15bf919448503935e302 (patch)
treeea13d7c416dc9c8945876780480e3867be7063f1 /src/libs/utils/environment.cpp
parent98a88b0b845dff64b6b68a4dc1e84ca0673a67e0 (diff)
parent0c00f44a2d1683926f72a6fcd5eba63f3ed9db8b (diff)
downloadqt-creator-e7ea94b6883816b467ba15bf919448503935e302.tar.gz
Merge remote-tracking branch 'origin/3.2'
Conflicts: src/plugins/git/gerrit/gerritparameters.cpp src/plugins/git/gerrit/gerritplugin.h src/plugins/git/gitclient.cpp Change-Id: Ie7719cfe45489b72d64260e729dcce3760f33bec
Diffstat (limited to 'src/libs/utils/environment.cpp')
-rw-r--r--src/libs/utils/environment.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libs/utils/environment.cpp b/src/libs/utils/environment.cpp
index ba3ed30b45..04e2a75d1f 100644
--- a/src/libs/utils/environment.cpp
+++ b/src/libs/utils/environment.cpp
@@ -373,23 +373,23 @@ QList<EnvironmentItem> Environment::diff(const Environment &other) const
QList<EnvironmentItem> result;
while (thisIt != constEnd() || otherIt != other.constEnd()) {
if (thisIt == constEnd()) {
- result.append(Utils::EnvironmentItem(otherIt.key(), otherIt.value()));
+ result.append(EnvironmentItem(otherIt.key(), otherIt.value()));
++otherIt;
} else if (otherIt == constEnd()) {
- Utils::EnvironmentItem item(thisIt.key(), QString());
+ EnvironmentItem item(thisIt.key(), QString());
item.unset = true;
result.append(item);
++thisIt;
} else if (thisIt.key() < otherIt.key()) {
- Utils::EnvironmentItem item(thisIt.key(), QString());
+ EnvironmentItem item(thisIt.key(), QString());
item.unset = true;
result.append(item);
++thisIt;
} else if (thisIt.key() > otherIt.key()) {
- result.append(Utils::EnvironmentItem(otherIt.key(), otherIt.value()));
+ result.append(EnvironmentItem(otherIt.key(), otherIt.value()));
++otherIt;
} else {
- result.append(Utils::EnvironmentItem(otherIt.key(), otherIt.value()));
+ result.append(EnvironmentItem(otherIt.key(), otherIt.value()));
++otherIt;
++thisIt;
}