diff options
| author | Méven Car <[email protected]> | 2025-02-20 18:37:31 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-02-20 18:37:40 +0100 |
| commit | 387dafe8e191f65399c37acf35379da0e2f0f5d5 (patch) | |
| tree | 1d92f2a92a30c9b9a4838162114a66af7d21cf58 | |
| parent | 58c79e64826f5863e2978b1f2ba150cc0be41584 (diff) | |
kitemlistcontrollertest: fix warnings
NO_CHANGELOG
| -rw-r--r-- | src/tests/kitemlistcontrollertest.cpp | 8 |
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: |
