┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2018-10-07 23:07:32 +0200
committerElvis Angelaccio <[email protected]>2018-10-07 23:07:32 +0200
commit092d08f5e833b108e85a6f4c67f285cfd8737cad (patch)
tree727a3e10adcc62ed78d5c7849915b3a0b56d9c2b /src/tests
parent2871364f66058c66658741e9270471082c6f855a (diff)
Fix implicit-fallthrough gcc warning
GIT_SILENT
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/kitemlistcontrollertest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/kitemlistcontrollertest.cpp b/src/tests/kitemlistcontrollertest.cpp
index a468ca6dc..c472f128f 100644
--- a/src/tests/kitemlistcontrollertest.cpp
+++ b/src/tests/kitemlistcontrollertest.cpp
@@ -545,6 +545,7 @@ void KItemListControllerTest::testKeyboardNavigation()
}
// No items are selected. Therefore, the current item should be activated.
// This is handled by falling through to the NoSelection/SingleSelection case.
+ Q_FALLTHROUGH();
case KItemListController::NoSelection:
case KItemListController::SingleSelection:
// In NoSelection and SingleSelection mode, the current item should be activated.