From 256792355d01485eb148f8fb50f92e1c276cb769 Mon Sep 17 00:00:00 2001 From: Emmanuel Pescosta Date: Mon, 14 Jan 2013 20:01:03 +0100 Subject: Select right item as current item (first item after the deletion) after deleting files BUG: 290736 REVIEW: 108356 FIXED-IN: 4.10 --- src/tests/kitemlistselectionmanagertest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') diff --git a/src/tests/kitemlistselectionmanagertest.cpp b/src/tests/kitemlistselectionmanagertest.cpp index 3a8400930..302985a5f 100644 --- a/src/tests/kitemlistselectionmanagertest.cpp +++ b/src/tests/kitemlistselectionmanagertest.cpp @@ -499,7 +499,7 @@ void KItemListSelectionManagerTest::testDeleteCurrentItem_data() QTest::newRow("Remove before") << 50 << 0 << 10 << 40; QTest::newRow("Remove after") << 50 << 51 << 10 << 50; QTest::newRow("Remove exactly current item") << 50 << 50 << 1 << 50; - QTest::newRow("Remove around current item") << 50 << 45 << 10 << 50; + QTest::newRow("Remove around current item") << 50 << 45 << 10 << 45; QTest::newRow("Remove all except one item") << 50 << 1 << 99 << 0; } -- cgit v1.3