[vlc-commits] Qt: Menu: change icon quit(cross) -> exit

Francois Cartegnie git at videolan.org
Thu Apr 11 14:27:42 CEST 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Apr 11 14:13:49 2013 +0200| [0040f2a582f3c6233f61c80c46d8ba85c2090c70] | committer: Francois Cartegnie

Qt: Menu: change icon quit(cross) -> exit

Cross has a meaning for closing a menu, window.
Quit action closes everything (quits application).

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

 modules/gui/qt4/menus.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index a9ff53f..e366e4e 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -392,7 +392,7 @@ QMenu *VLCMenuBar::FileMenu( intf_thread_t *p_intf, QWidget *parent, MainInterfa
     }
 
     addDPStaticEntry( menu, qtr( "&Quit" ) ,
-        ":/menu/quit", SLOT( quit() ), "Ctrl+Q" );
+        ":/menu/exit", SLOT( quit() ), "Ctrl+Q" );
     return menu;
 }
 
@@ -920,7 +920,7 @@ void VLCMenuBar::PopupMenuStaticEntries( QMenu *menu )
     menu->addMenu( helpmenu );
 #endif
 
-    addDPStaticEntry( menu, qtr( "Quit" ), ":/menu/quit",
+    addDPStaticEntry( menu, qtr( "Quit" ), ":/menu/exit",
                       SLOT( quit() ), "Ctrl+Q", QAction::QuitRole );
 }
 
@@ -1144,7 +1144,7 @@ void VLCMenuBar::updateSystrayMenu( MainInterface *mi,
     addDPStaticEntry( sysMenu, qtr( "&Open Media" ),
             ":/type/file-wide", SLOT( openFileDialog() ) );
     addDPStaticEntry( sysMenu, qtr( "&Quit" ) ,
-            ":/menu/quit", SLOT( quit() ) );
+            ":/menu/exit", SLOT( quit() ) );
 
     /* Set the menu */
     mi->getSysTray()->setContextMenu( sysMenu );



More information about the vlc-commits mailing list