┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/kitemlistselectionmanagertest.cpp
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2011-08-10 13:53:41 +0200
committerFrank Reininghaus <[email protected]>2011-08-10 13:53:41 +0200
commit2e3b7e6dd3b051b3d9cb9799e1dd22f8376d2957 (patch)
treea8237524a85ce08e18387a7144f25a2c6cb63db8 /src/tests/kitemlistselectionmanagertest.cpp
parent258a29f61fb379b6a259070213cd68ffa56d6d2d (diff)
Always use the 'Select' mode for anchored selections
In Dolphin, we don't actually use the 'Deselect' and 'Toggle' modes for anchored selections, so we can just remove these modes and always use 'Select' to reduce code complexity.
Diffstat (limited to 'src/tests/kitemlistselectionmanagertest.cpp')
-rw-r--r--src/tests/kitemlistselectionmanagertest.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tests/kitemlistselectionmanagertest.cpp b/src/tests/kitemlistselectionmanagertest.cpp
index 2832a4c76..9063b7884 100644
--- a/src/tests/kitemlistselectionmanagertest.cpp
+++ b/src/tests/kitemlistselectionmanagertest.cpp
@@ -96,8 +96,6 @@ void KItemListSelectionManagerTest::testCurrentItemAnchorItem()
m_selectionManager->setAnchoredSelectionActive(true);
QVERIFY(m_selectionManager->isAnchoredSelectionActive());
- m_selectionManager->setAnchoredSelectionMode(KItemListSelectionManager::Select);
- QCOMPARE(m_selectionManager->anchoredSelectionMode(), KItemListSelectionManager::Select);
// Set current item and check that the selection manager emits the currentChanged(int,int) signal correctly.
m_selectionManager->setCurrentItem(4);