summaryrefslogtreecommitdiff
path: root/src/modlistview.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-12-31 03:28:18 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 15:38:17 +0100
commit4f89665056b2256ca353bc27314cd025db2f554c (patch)
treecab3d682a4cf35cd1dc5507d26c17f03711bac4a /src/modlistview.cpp
parent51281ac304f64170d310ae543d50879614c550d3 (diff)
Move the regular context menu.
Diffstat (limited to 'src/modlistview.cpp')
-rw-r--r--src/modlistview.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/modlistview.cpp b/src/modlistview.cpp
index 8c826882..cf35abdd 100644
--- a/src/modlistview.cpp
+++ b/src/modlistview.cpp
@@ -196,20 +196,6 @@ void ModListView::disableAllVisible()
m_core->modList()->setActive(indexViewToModel(allIndex(model())), false);
}
-void ModListView::enableSelected()
-{
- if (selectionModel()->hasSelection()) {
- m_core->modList()->setActive(indexViewToModel(selectionModel()->selectedRows()), true);
- }
-}
-
-void ModListView::disableSelected()
-{
- if (selectionModel()->hasSelection()) {
- m_core->modList()->setActive(indexViewToModel(selectionModel()->selectedRows()), false);
- }
-}
-
void ModListView::setFilterCriteria(const std::vector<ModListSortProxy::Criteria>& criteria)
{
m_sortProxy->setCriteria(criteria);