mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 11:16:20 +03:00
Minor change in lessThan signature.
This commit is contained in:
parent
7f858dfef5
commit
18edf7a20c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue