forked from qt-creator/qt-creator
Gerrit: Properly sort timestamps in Gerrit dialog
Task-number: QTCREATORBUG-13602 Change-Id: Iba4b2d85d6b75752214b4f53684b9e90df9b1b69 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -112,11 +112,14 @@ public:
|
||||
|
||||
enum CustomModelRoles {
|
||||
FilterRole = Qt::UserRole + 1,
|
||||
GerritChangeRole = Qt::UserRole + 2
|
||||
GerritChangeRole = Qt::UserRole + 2,
|
||||
SortRole = Qt::UserRole + 3
|
||||
};
|
||||
GerritModel(const QSharedPointer<GerritParameters> &, QObject *parent = 0);
|
||||
~GerritModel();
|
||||
|
||||
QVariant data(const QModelIndex &index, int role) const;
|
||||
|
||||
GerritChangePtr change(const QModelIndex &index) const;
|
||||
QString toHtml(const QModelIndex &index) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user