From 387dafe8e191f65399c37acf35379da0e2f0f5d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A9ven=20Car?= Date: Thu, 20 Feb 2025 18:37:31 +0100 Subject: [PATCH] kitemlistcontrollertest: fix warnings NO_CHANGELOG --- src/tests/kitemlistcontrollertest.cpp | 8 ++++---- 1 file 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 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: -- 2.47.3