mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 09:50:12 +00:00
Revert "Adapt autotest to new expected "Space" key behaviour"
This reverts commitdf5cf6fe85
. The autotest was orginally changed to adapt to new behaviour when the Space key is pressed. This change used to be implemented in KItemListController which meant that the KItemListControllerTest needed changing, but this is no longer the case. Instead the new behaviour when the Space key is pressed is now implemented further up the hierarchy, so the KItemListController change could be reverted in7b6a67e520
and as such we can also revert this autotest change.
This commit is contained in:
parent
7b6a67e520
commit
64ae87f402
|
@ -321,8 +321,7 @@ void KItemListControllerTest::testKeyboardNavigation_data()
|
|||
<< qMakePair(KeyPress(Qt::Key_Enter), ViewState(0, KItemSet(), true))
|
||||
<< qMakePair(KeyPress(Qt::Key_Space, Qt::ControlModifier), ViewState(0, KItemSet() << 0))
|
||||
<< qMakePair(KeyPress(Qt::Key_Space, Qt::ControlModifier), ViewState(0, KItemSet()))
|
||||
<< qMakePair(KeyPress(Qt::Key_Space), ViewState(0, KItemSet())) // This used to select, but we are now using it to trigger either
|
||||
// selection mode or "QuickLook". Ctrl+Space still works for selecting as expected.
|
||||
<< qMakePair(KeyPress(Qt::Key_Space), ViewState(0, KItemSet() << 0))
|
||||
<< qMakePair(KeyPress(Qt::Key_E), ViewState(13, KItemSet() << 13))
|
||||
<< qMakePair(KeyPress(Qt::Key_Space), ViewState(14, KItemSet() << 14))
|
||||
<< qMakePair(KeyPress(Qt::Key_3), ViewState(15, KItemSet() << 15))
|
||||
|
|
Loading…
Reference in a new issue