[Qt] Fix the Advanced Control de-attachment from interface.
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 21 Nov 2008 12:50:20 +0000 (13:50 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 21 Nov 2008 12:50:20 +0000 (13:50 +0100)
Don't forget the break; in a switch !

modules/gui/qt4/components/controller.cpp

index 95991df..895dec6 100644 (file)
@@ -378,6 +378,7 @@ QWidget *AbstractController::createWidget( buttonType_e button, int* i_size,
             widget = advControls;
             *i_size = advControls->getWidth();
         }
+        break;
     case REVERSE_BUTTON:{
         QToolButton *reverseButton = new QToolButton;
         setupButton( reverseButton );