summaryrefslogtreecommitdiff
path: root/src/downloadstab.cpp
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/downloadstab.cpp
parentc2c0f7c98d4b61314c679e0fed7fac914f4f1284 (diff)
renamed DownloadList::lessThan to lessThanPredicate and added a comment that it's used with the filter widget
Diffstat (limited to 'src/downloadstab.cpp')
-rw-r--r--src/downloadstab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/downloadstab.cpp b/src/downloadstab.cpp
index f5258724..a0602ede 100644
--- a/src/downloadstab.cpp
+++ b/src/downloadstab.cpp
@@ -22,7 +22,7 @@ DownloadsTab::DownloadsTab(OrganizerCore& core, Ui::MainWindow* mwui)
m_filter.setEdit(ui.filter);
m_filter.setList(ui.list);
m_filter.setSortPredicate([sourceModel](auto&& left, auto&& right) {
- return sourceModel->lessThan(left, right);
+ return sourceModel->lessThanPredicate(left, right);
});
connect(ui.refresh, &QPushButton::clicked, [&]{ refresh(); });