From: Méven Car Date: Thu, 20 Feb 2025 17:37:31 +0000 (+0100) Subject: kitemlistcontrollertest: fix warnings X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/387dafe8e191f65399c37acf35379da0e2f0f5d5?ds=inline kitemlistcontrollertest: fix warnings NO_CHANGELOG --- 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: