diff options
| author | Peter Penz <[email protected]> | 2012-06-08 22:07:59 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-06-08 22:08:29 +0200 |
| commit | b2f5de974463f54023905e0979102d179eed0a00 (patch) | |
| tree | 1e257594f43ea496aa3ac8c5f74a82d589844ac7 /src/tests/kitemlistcontrollertest.cpp | |
| parent | 98a4aa10ef09087ce6498d09461036cb0ab9cb4d (diff) | |
Krazy fixes
Diffstat (limited to 'src/tests/kitemlistcontrollertest.cpp')
| -rw-r--r-- | src/tests/kitemlistcontrollertest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/kitemlistcontrollertest.cpp b/src/tests/kitemlistcontrollertest.cpp index 47b2b8b75..2085dead6 100644 --- a/src/tests/kitemlistcontrollertest.cpp +++ b/src/tests/kitemlistcontrollertest.cpp @@ -210,7 +210,7 @@ void KItemListControllerTest::testKeyboardNavigation_data() groupingEnabledList.append(true); groupingEnabledNames[true] = "grouping enabled"; - foreach (KFileItemListView::ItemLayout layout, layoutList) { + foreach (const KFileItemListView::ItemLayout& layout, layoutList) { // The following settings depend on the layout. // Note that 'columns' are actually 'rows' in // Compact layout. @@ -249,8 +249,8 @@ void KItemListControllerTest::testKeyboardNavigation_data() } foreach (int columnCount, columnCountList) { - foreach (KItemListController::SelectionBehavior selectionBehavior, selectionBehaviorList) { - foreach (bool groupingEnabled, groupingEnabledList) { + foreach (const KItemListController::SelectionBehavior& selectionBehavior, selectionBehaviorList) { + foreach (bool groupingEnabled, groupingEnabledList) { // krazy:exclude=foreach QList<QPair<KeyPress, ViewState> > testList; // First, key presses which should have the same effect |
