]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix implicit-fallthrough gcc warning
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 7 Oct 2018 21:07:32 +0000 (23:07 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 7 Oct 2018 21:07:32 +0000 (23:07 +0200)
GIT_SILENT

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.