[vlc-commits] [Git][videolan/vlc][master] qt: systray: fix systray call for macos
Steve Lhomme (@robUx4)
gitlab at videolan.org
Tue Sep 24 05:34:47 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
2da6b897 by Alexandre Janniaux at 2024-09-24T05:20:54+00:00
qt: systray: fix systray call for macos
CXX dialogs/systray/libqt_plugin_la-systray.lo
../../../../modules/gui/qt/dialogs/systray/systray.cpp:101:21: error: no member named 'updateSystrayMenu' in 'VLCMenuBar'
VLCMenuBar::updateSystrayMenu( this, p_intf );
~~~~~~~~~~~~^
../../../../modules/gui/qt/dialogs/systray/systray.cpp:101:46: error: use of undeclared identifier 'p_intf'
VLCMenuBar::updateSystrayMenu( this, p_intf );
^
- - - - -
1 changed file:
- modules/gui/qt/dialogs/systray/systray.cpp
Changes:
=====================================
modules/gui/qt/dialogs/systray/systray.cpp
=====================================
@@ -97,11 +97,7 @@ void VLCSystray::handleClick(
{
case QSystemTrayIcon::Trigger:
case QSystemTrayIcon::DoubleClick:
-#ifdef Q_OS_MAC
- VLCMenuBar::updateSystrayMenu( this, p_intf );
-#else
toggleUpdateMenu();
-#endif
break;
case QSystemTrayIcon::MiddleClick:
if (PlaylistController* const playlistController = m_intf->p_mainPlaylistController)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2da6b8973368baaa1c198e4617209439f4e9984b
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2da6b8973368baaa1c198e4617209439f4e9984b
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