forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/3.5'
Conflicts: scripts/deployqtHelper_mac.sh Change-Id: Ia0d5fef8c28e0bfb3b0c703ad3652e2d70d9e7d1
This commit is contained in:
@@ -380,7 +380,7 @@ QList<EnvironmentItem> Environment::diff(const Environment &other) const
|
||||
if (thisIt == constEnd()) {
|
||||
result.append(EnvironmentItem(otherIt.key(), otherIt.value()));
|
||||
++otherIt;
|
||||
} else if (otherIt == constEnd()) {
|
||||
} else if (otherIt == other.constEnd()) {
|
||||
EnvironmentItem item(thisIt.key(), QString());
|
||||
item.unset = true;
|
||||
result.append(item);
|
||||
@@ -394,7 +394,8 @@ QList<EnvironmentItem> Environment::diff(const Environment &other) const
|
||||
result.append(EnvironmentItem(otherIt.key(), otherIt.value()));
|
||||
++otherIt;
|
||||
} else {
|
||||
result.append(EnvironmentItem(otherIt.key(), otherIt.value()));
|
||||
if (thisIt.value() != otherIt.value())
|
||||
result.append(EnvironmentItem(otherIt.key(), otherIt.value()));
|
||||
++otherIt;
|
||||
++thisIt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user