[vlc-commits] [Git][videolan/vlc][master] qt: fix mnemonic key collision in audio & systray menus

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Thu Oct 6 13:03:00 UTC 2022



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
8f8891ed by Pierre Lamot at 2022-10-06T12:50:47+00:00
qt: fix mnemonic key collision in audio & systray menus

fix: #27374

- - - - -


1 changed file:

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


Changes:

=====================================
modules/gui/qt/menus/menus.cpp
=====================================
@@ -383,7 +383,7 @@ static inline void VolumeEntries( qt_intf_t *p_intf, QMenu *current )
     current->addSeparator();
 
     current->addAction( QIcon( ":/menu/volume-high.svg" ), qtr( "&Increase Volume" ), THEMIM, &PlayerController::setVolumeUp );
-    current->addAction( QIcon( ":/menu/volume-low.svg" ), qtr( "D&ecrease Volume" ), THEMIM, &PlayerController::setVolumeDown );
+    current->addAction( QIcon( ":/menu/volume-low.svg" ), qtr( "&Decrease Volume" ), THEMIM, &PlayerController::setVolumeDown );
     current->addAction( QIcon( ":/menu/volume-muted.svg" ), qtr( "&Mute" ), THEMIM, &PlayerController::toggleMuted );
 }
 
@@ -396,7 +396,7 @@ void VLCMenuBar::AudioMenu( qt_intf_t *p_intf, QMenu * current )
     {
         current->addMenu(new CheckableListMenu(qtr( "Audio &Track" ), THEMIM->getAudioTracks(), CheckableListMenu::GROUPED_OPTIONAL, current));
 
-        QAction *audioDeviceAction = new QAction( qtr( "Audio &Device" ), current );
+        QAction *audioDeviceAction = new QAction( qtr( "&Audio Device" ), current );
         QMenu *audioDeviceSubmenu = new QMenu( current );
         audioDeviceAction->setMenu( audioDeviceSubmenu );
         current->addAction( audioDeviceAction );



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

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