┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/kitemlistcontrollertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/kitemlistcontrollertest.cpp')
-rw-r--r--src/tests/kitemlistcontrollertest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/kitemlistcontrollertest.cpp b/src/tests/kitemlistcontrollertest.cpp
index a882accaa..4cb999f06 100644
--- a/src/tests/kitemlistcontrollertest.cpp
+++ b/src/tests/kitemlistcontrollertest.cpp
@@ -277,10 +277,10 @@ void KItemListControllerTest::testKeyboardNavigation_data()
// Compact layout.
Qt::Orientation scrollOrientation;
QList<int> columnCountList;
- Qt::Key nextItemKey;
- Qt::Key previousItemKey;
- Qt::Key nextRowKey;
- Qt::Key previousRowKey;
+ Qt::Key nextItemKey = Qt::Key_Right;
+ Qt::Key previousItemKey = Qt::Key_Right;
+ Qt::Key nextRowKey = Qt::Key_Right;
+ Qt::Key previousRowKey = Qt::Key_Right;
switch (layout) {
case KFileItemListView::IconsLayout: