From: Elvis Angelaccio Date: Sun, 7 Oct 2018 21:07:32 +0000 (+0200) Subject: Fix implicit-fallthrough gcc warning X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/092d08f5e833b108e85a6f4c67f285cfd8737cad?hp=2871364f66058c66658741e9270471082c6f855a Fix implicit-fallthrough gcc warning GIT_SILENT --- 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.