[vlc-commits] [Git][videolan/vlc][master] qt: do not indicate status in checkable action text in `VLCMenuBar::PopupMenu()`

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Nov 13 16:03:57 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
cbc4d43a by Fatih Uzunoglu at 2024-11-13T14:17:47+00:00
qt: do not indicate status in checkable action text in `VLCMenuBar::PopupMenu()`

- - - - -


1 changed file:

- modules/gui/qt/menus/menus.cpp


Changes:

=====================================
modules/gui/qt/menus/menus.cpp
=====================================
@@ -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();
         }
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cbc4d43a042d724c4641f18d69054ba1b6073591

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cbc4d43a042d724c4641f18d69054ba1b6073591
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list