[vlc-devel] commit: Qt: short simplification (Jean-Baptiste Kempf )
git version control
git at videolan.org
Wed Dec 31 13:44:16 CET 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Dec 30 21:15:20 2008 +0100| [05d3d3a12fb5023fc421fd3e6344ec0b209909bc] | committer: Jean-Baptiste Kempf
Qt: short simplification
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=05d3d3a12fb5023fc421fd3e6344ec0b209909bc
---
modules/gui/qt4/components/interface_widgets.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 5e424fb..7807fa5 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -358,12 +358,11 @@ SpeedControlWidget::SpeedControlWidget( intf_thread_t *_p_i, QWidget *_parent )
CONNECT( normalSpeedButton, clicked(), this, resetRate() );
- QVBoxLayout *speedControlLayout = new QVBoxLayout;
+ QVBoxLayout *speedControlLayout = new QVBoxLayout( this );
speedControlLayout->setLayoutMargins( 4, 4, 4, 4, 4 );
speedControlLayout->setSpacing( 4 );
speedControlLayout->addWidget( speedSlider );
speedControlLayout->addWidget( normalSpeedButton );
- setLayout( speedControlLayout );
activateOnState();
}
More information about the vlc-devel
mailing list