Commit 0040f2a5 authored by Francois Cartegnie's avatar Francois Cartegnie

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

Cross has a meaning for closing a menu, window.
Quit action closes everything (quits application).
parent 222d6d7d
...@@ -392,7 +392,7 @@ QMenu *VLCMenuBar::FileMenu( intf_thread_t *p_intf, QWidget *parent, MainInterfa ...@@ -392,7 +392,7 @@ QMenu *VLCMenuBar::FileMenu( intf_thread_t *p_intf, QWidget *parent, MainInterfa
} }
addDPStaticEntry( menu, qtr( "&Quit" ) , addDPStaticEntry( menu, qtr( "&Quit" ) ,
":/menu/quit", SLOT( quit() ), "Ctrl+Q" ); ":/menu/exit", SLOT( quit() ), "Ctrl+Q" );
return menu; return menu;
} }
...@@ -920,7 +920,7 @@ void VLCMenuBar::PopupMenuStaticEntries( QMenu *menu ) ...@@ -920,7 +920,7 @@ void VLCMenuBar::PopupMenuStaticEntries( QMenu *menu )
menu->addMenu( helpmenu ); menu->addMenu( helpmenu );
#endif #endif
addDPStaticEntry( menu, qtr( "Quit" ), ":/menu/quit", addDPStaticEntry( menu, qtr( "Quit" ), ":/menu/exit",
SLOT( quit() ), "Ctrl+Q", QAction::QuitRole ); SLOT( quit() ), "Ctrl+Q", QAction::QuitRole );
} }
...@@ -1144,7 +1144,7 @@ void VLCMenuBar::updateSystrayMenu( MainInterface *mi, ...@@ -1144,7 +1144,7 @@ void VLCMenuBar::updateSystrayMenu( MainInterface *mi,
addDPStaticEntry( sysMenu, qtr( "&Open Media" ), addDPStaticEntry( sysMenu, qtr( "&Open Media" ),
":/type/file-wide", SLOT( openFileDialog() ) ); ":/type/file-wide", SLOT( openFileDialog() ) );
addDPStaticEntry( sysMenu, qtr( "&Quit" ) , addDPStaticEntry( sysMenu, qtr( "&Quit" ) ,
":/menu/quit", SLOT( quit() ) ); ":/menu/exit", SLOT( quit() ) );
/* Set the menu */ /* Set the menu */
mi->getSysTray()->setContextMenu( sysMenu ); mi->getSysTray()->setContextMenu( sysMenu );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment