[vlc-devel] commit: Qt: SPrefs hotkeys: add a line between the widgets. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Apr 5 12:12:16 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Apr  5 12:09:54 2009 +0200| [7f7fc9ead61fafdfbd9c8817dd472623b4053c80] | committer: Jean-Baptiste Kempf 

Qt: SPrefs hotkeys: add a line between the widgets.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7f7fc9ead61fafdfbd9c8817dd472623b4053c80
---

 modules/gui/qt4/components/simple_preferences.cpp |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 9281a64..bc6dcab 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -558,6 +558,13 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             controls.append( control );
 
             line++;
+
+            QFrame *sepline = new QFrame;
+            sepline->setFrameStyle(QFrame::HLine | QFrame::Sunken);
+            gLayout->addWidget( sepline, line, 0, 1, -1 );
+
+            line++;
+
             p_config = config_FindConfig( VLC_OBJECT(p_intf), "hotkeys-mousewheel-mode" );
             control = new IntegerListConfigControl( VLC_OBJECT(p_intf),
                     p_config, false, this, gLayout, line );




More information about the vlc-devel mailing list