Browse Source

Minor change in lessThan signature.

adaptive-webui-19844
sledgehammer999 12 years ago
parent
commit
18edf7a20c
  1. 2
      src/transferlistsortmodel.h

2
src/transferlistsortmodel.h

@ -42,7 +42,7 @@ public: @@ -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…
Cancel
Save