[vlc-commits] [Git][videolan/vlc][master] qt: handle ZoomIn and ZoomOut shortcuts

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Sep 21 06:44:00 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
6a73f5b8 by Fatih Uzunoglu at 2024-09-21T06:30:23+00:00
qt: handle ZoomIn and ZoomOut shortcuts

- - - - -


1 changed file:

- modules/gui/qt/menus/qml/GlobalShortcuts.qml


Changes:

=====================================
modules/gui/qt/menus/qml/GlobalShortcuts.qml
=====================================
@@ -48,6 +48,9 @@ Item {
     ShortcutExt{ sequence:"F10"; onActivated: MainCtx.toggleToolbarMenu() }
     ShortcutExt{ sequence:"F11"; onActivated: MainCtx.toggleInterfaceFullScreen() }
 
+    ShortcutExt{ sequence: StandardKey.ZoomIn; onActivated: MainCtx.incrementIntfUserScaleFactor(true) }
+    ShortcutExt{ sequence: StandardKey.ZoomOut; onActivated: MainCtx.incrementIntfUserScaleFactor(false) }
+
     Loader {
         active: MainCtx.mediaLibraryAvailable
         source: "qrc:///qt/qml/VLC/Menus/GlobalShortcutsMedialib.qml"



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6a73f5b87c2d2337959db2c9e81fbd7022a191a2
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