mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-23 06:35:24 -07:00
Minor change in lessThan signature.
This commit is contained in:
parent
1ef35da8eb
commit
512516225b
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ public:
|
||||||
TransferListSortModel(QObject *parent = 0) : QSortFilterProxyModel(parent) {}
|
TransferListSortModel(QObject *parent = 0) : QSortFilterProxyModel(parent) {}
|
||||||
|
|
||||||
protected:
|
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) {
|
if (sortColumn() == TorrentModelItem::TR_NAME) {
|
||||||
QVariant vL = sourceModel()->data(left);
|
QVariant vL = sourceModel()->data(left);
|
||||||
QVariant vR = sourceModel()->data(right);
|
QVariant vR = sourceModel()->data(right);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue