Skip to content
Snippets Groups Projects
Commit cbc4d43a authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Steve Lhomme
Browse files

qt: do not indicate status in checkable action text in `VLCMenuBar::PopupMenu()`

parent 4d30f0d5
No related branches found
No related tags found
1 merge request!6283qt: checkable action should not indicate checkedness in its text
Pipeline #533638 passed with stage
in 15 minutes and 29 seconds
......@@ -759,12 +759,7 @@ QMenu* VLCMenuBar::PopupMenu( qt_intf_t *p_intf, bool show )
/* Add a fullscreen switch button, since it is the most used function */
if( p_vout )
{
b_isFullscreen = THEMIM->isFullscreen();
if (b_isFullscreen)
menu->addAction(new BooleanPropertyAction(qtr( "Leave Fullscreen" ), THEMIM, "fullscreen", menu) );
else
menu->addAction(new BooleanPropertyAction(qtr( "&Fullscreen" ), THEMIM, "fullscreen", menu) );
menu->addAction(new BooleanPropertyAction(qtr( "&Fullscreen" ), THEMIM, "fullscreen", menu) );
menu->addSeparator();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment