[vlc-commits] Qt: fix toolbar settings read

Jean-Baptiste Kempf git at videolan.org
Wed Dec 14 16:03:28 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 14 16:03:03 2011 +0100| [d60425760483d5b58f458eff689901cf69e0fb89] | committer: Jean-Baptiste Kempf

Qt: fix toolbar settings read

Close #5673

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

 modules/gui/qt4/main_interface.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 7754846..0ae87b6 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -404,7 +404,7 @@ void MainInterface::createMainWidget( QSettings *settings )
     inputC = new InputControlsWidget( p_intf, this );
 
     mainLayout->insertWidget( 2, inputC );
-    mainLayout->insertWidget( settings->value( "ToolbarPos", 0 ).toInt() ? 0: 3,
+    mainLayout->insertWidget( settings->value( "MainWindow/ToolbarPos", 0 ).toInt() ? 0: 3,
                               controls );
 
     /* Visualisation, disabled for now, they SUCK */



More information about the vlc-commits mailing list