forked from qt-creator/qt-creator
Braces cleanup
Change-Id: I8413252c90a1487d291f15d92837c30ab697b245 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -380,9 +380,8 @@ void BranchModel::setCurrentBranch()
|
||||
BranchNode *local = m_rootNode->children.at(LocalBranches);
|
||||
int pos = 0;
|
||||
for (pos = 0; pos < local->count(); ++pos) {
|
||||
if (local->children.at(pos)->name == currentBranch) {
|
||||
if (local->children.at(pos)->name == currentBranch)
|
||||
m_currentBranch = local->children[pos];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user