forked from qt-creator/qt-creator
Gerrit: Fix some clang-tidy warnings
Change-Id: Idaccca0bd6d7682feeac8a0964ce2abb788f3e99 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
0988442e58
commit
cf960e4788
@@ -115,7 +115,7 @@ void GerritPushDialog::initRemoteBranches()
|
||||
continue;
|
||||
const QString ref = entries.at(0).mid(remotesPrefix.size());
|
||||
int refBranchIndex = ref.indexOf('/');
|
||||
int timeT = entries.at(1).leftRef(entries.at(1).indexOf(' ')).toInt();
|
||||
unsigned int timeT = entries.at(1).leftRef(entries.at(1).indexOf(' ')).toUInt();
|
||||
BranchDate bd(ref.mid(refBranchIndex + 1), QDateTime::fromTime_t(timeT).date());
|
||||
m_remoteBranches.insertMulti(ref.left(refBranchIndex), bd);
|
||||
}
|
||||
|
Reference in New Issue
Block a user