Gerrit: Place newer changes first

Change-Id: I14c5fad3061cac9656ddba49a6a8d6e3bdb934f3
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
Orgad Shaneh
2017-02-22 23:02:15 +02:00
committed by Orgad Shaneh
parent 44802d754e
commit 4d402664c6

View File

@@ -729,7 +729,7 @@ bool gerritChangeLessThan(const GerritChangePtr &c1, const GerritChangePtr &c2)
{
if (c1->depth != c2->depth)
return c1->depth < c2->depth;
return c1->lastUpdated < c2->lastUpdated;
return c1->lastUpdated > c2->lastUpdated;
}
void GerritModel::resultRetrieved(const QByteArray &output)