From 240d33ce17fc531e8bc6638af8f71454fe7c05e6 Mon Sep 17 00:00:00 2001 From: Eugene Popov Date: Wed, 27 Mar 2024 10:28:15 +0000 Subject: Better support for RTL This MR fixes some issues related to RTL scripts: - wrong layout in Compact View mode - broken horizontal scrolling in Icon View and Details View modes - broken navigation with left and right arrow keys in Details View mode BUG: 484012 BUG: 449493 --- src/tests/kitemlistcontrollertest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') diff --git a/src/tests/kitemlistcontrollertest.cpp b/src/tests/kitemlistcontrollertest.cpp index 56d383958..40b2cecaa 100644 --- a/src/tests/kitemlistcontrollertest.cpp +++ b/src/tests/kitemlistcontrollertest.cpp @@ -309,7 +309,7 @@ void KItemListControllerTest::testKeyboardNavigation_data() std::swap(nextItemKey, previousItemKey); break; case KFileItemListView::CompactLayout: - std::swap(nextItemKey, previousItemKey); + std::swap(nextRowKey, previousRowKey); break; default: break; -- cgit v1.3