1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-03 02:14:16 +00:00

Minor change in lessThan signature.

This commit is contained in:
sledgehammer999 2013-07-09 19:15:27 +03:00
parent 7f858dfef5
commit 18edf7a20c

View File

@ -42,7 +42,7 @@ public:
TransferListSortModel(QObject *parent = 0) : QSortFilterProxyModel(parent) {}
protected:
bool lessThan(const QModelIndex &left, const QModelIndex &right) const {
virtual bool lessThan(const QModelIndex &left, const QModelIndex &right) const {
if (sortColumn() == TorrentModelItem::TR_NAME) {
QVariant vL = sourceModel()->data(left);
QVariant vR = sourceModel()->data(right);