[vlc-commits] Qt: toolbar: fix menu buttons preview consistency

Francois Cartegnie git at videolan.org
Fri Nov 9 13:30:53 CET 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Nov  8 23:21:04 2018 +0100| [57914b1de417673d0f518c92823f87484851b04a] | committer: Francois Cartegnie

Qt: toolbar: fix menu buttons preview consistency

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

 modules/gui/qt/dialogs/toolbar.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/gui/qt/dialogs/toolbar.cpp b/modules/gui/qt/dialogs/toolbar.cpp
index 9a019ef38b..a4bdc1c2df 100644
--- a/modules/gui/qt/dialogs/toolbar.cpp
+++ b/modules/gui/qt/dialogs/toolbar.cpp
@@ -503,16 +503,16 @@ WidgetListing::WidgetListing( intf_thread_t *p_intf, QWidget *_parent )
                 prevSectionButton->setToolTip( qtr("Previous Chapter/Title" ) );
                 discLayout->addWidget( prevSectionButton );
 
-                QToolButton *menuButton = new QToolButton( discFrame );
-                menuButton->setIcon( QIcon( ":/toolbar/dvd_menu.svg" ) );
-                menuButton->setToolTip( qtr( "Menu" ) );
-                discLayout->addWidget( menuButton );
-
                 QToolButton *nextButton = new QToolButton( discFrame );
                 nextButton->setIcon( QIcon( ":/toolbar/dvd_next.svg" ) );
                 nextButton->setToolTip( qtr("Next Chapter/Title" ) );
                 discLayout->addWidget( nextButton );
 
+                QToolButton *menuButton = new QToolButton( discFrame );
+                menuButton->setIcon( QIcon( ":/toolbar/dvd_menu.svg" ) );
+                menuButton->setToolTip( qtr( "Menu" ) );
+                discLayout->addWidget( menuButton );
+
                 widget = discFrame;
             }
             widgetItem->setText( qtr("DVD menus") );



More information about the vlc-commits mailing list