]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/tests/kitemlistcontrollertest.cpp
Fix implicit-fallthrough gcc warning
[dolphin.git] / src / tests / kitemlistcontrollertest.cpp
index a468ca6dc61fa37b571b4afeedd8416e2660f26c..c472f128f311fd9847d9c87f9103e5ab9711ba19 100644 (file)
@@ -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.