Fix implicit-fallthrough gcc warning

GIT_SILENT
This commit is contained in:
Elvis Angelaccio 2018-10-07 23:07:32 +02:00
parent 2871364f66
commit 092d08f5e8

View file

@ -545,6 +545,7 @@ void KItemListControllerTest::testKeyboardNavigation()
} }
// No items are selected. Therefore, the current item should be activated. // No items are selected. Therefore, the current item should be activated.
// This is handled by falling through to the NoSelection/SingleSelection case. // This is handled by falling through to the NoSelection/SingleSelection case.
Q_FALLTHROUGH();
case KItemListController::NoSelection: case KItemListController::NoSelection:
case KItemListController::SingleSelection: case KItemListController::SingleSelection:
// In NoSelection and SingleSelection mode, the current item should be activated. // In NoSelection and SingleSelection mode, the current item should be activated.