]> git.sesse.net Git - vlc/commit
Qt: ConfigControl: rework layout insertion.
authorFrancois Cartegnie <fcvlcdev@free.fr>
Mon, 26 Mar 2012 19:46:39 +0000 (21:46 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Tue, 27 Mar 2012 14:48:33 +0000 (16:48 +0200)
commit2e02fbfcb788b433eeb6536503ced22f16abd5e0
treead83d667dfe08e8ad8e49c14e5669a75f766ce0f
parent67b43ed83871bbad3ab0a6989f89f45653b5d8b6
Qt: ConfigControl: rework layout insertion.

Moving layout insertion outside of the constructors.
We no longer need constructor for creating a QWidget,
and we did not need at all to create a widget as a sublayout
is sufficient.
Removes many constructors and conditional code. gross -100 lines.

Also fixes an IntegerRangeConfigControl declaration which definition
was on IntegerRangeSliderConfigControl.
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.hpp
modules/gui/qt4/components/simple_preferences.cpp