X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/549fad2daeeccac53b88b4777dcc9effbc2110e5..30a807e44afb334dd153c8bcbdbde4f36942bee0:/src/tests/kitemlistcontrollertest.cpp diff --git a/src/tests/kitemlistcontrollertest.cpp b/src/tests/kitemlistcontrollertest.cpp index 9d345fdd9..f462947c6 100644 --- a/src/tests/kitemlistcontrollertest.cpp +++ b/src/tests/kitemlistcontrollertest.cpp @@ -295,9 +295,9 @@ void KItemListControllerTest::testKeyboardNavigation_data() break; } - for (int columnCount : qAsConst(columnCountList)) { - for (const KItemListController::SelectionBehavior &selectionBehavior : qAsConst(selectionBehaviorList)) { - for (bool groupingEnabled : qAsConst(groupingEnabledList)) { + for (int columnCount : std::as_const(columnCountList)) { + for (const KItemListController::SelectionBehavior &selectionBehavior : std::as_const(selectionBehaviorList)) { + for (bool groupingEnabled : std::as_const(groupingEnabledList)) { QList> testList; // First, key presses which should have the same effect