Gerrit: Fix some clang-tidy warnings

Change-Id: Idaccca0bd6d7682feeac8a0964ce2abb788f3e99
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Orgad Shaneh
2018-05-31 20:11:40 +03:00
committed by Orgad Shaneh
parent 0988442e58
commit cf960e4788
4 changed files with 6 additions and 7 deletions

View File

@@ -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);
}