summaryrefslogtreecommitdiff
path: root/src/downloadlist.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-12-28 06:01:43 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-12-28 06:01:43 -0500
commit9b3e91b53e769aec2622eb79509945c09fca8897 (patch)
tree1f619884298e51bba99ec26bd41b8f2568119c01 /src/downloadlist.h
parentc2c0f7c98d4b61314c679e0fed7fac914f4f1284 (diff)
renamed DownloadList::lessThan to lessThanPredicate and added a comment that it's used with the filter widget
Diffstat (limited to 'src/downloadlist.h')
-rw-r--r--src/downloadlist.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/downloadlist.h b/src/downloadlist.h
index c40bbac5..2171c013 100644
--- a/src/downloadlist.h
+++ b/src/downloadlist.h
@@ -85,7 +85,9 @@ public:
**/
virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
- bool lessThan(const QModelIndex &left, const QModelIndex &right);
+ // used in DownloadsTab as the sorting predicate for the filter widget
+ //
+ bool lessThanPredicate(const QModelIndex &left, const QModelIndex &right);
public slots: