[vlc-commits] [Git][videolan/vlc][master] qt: fix pointer in non-pointer parameter
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Wed Jul 24 05:07:21 UTC 2024
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
3ef0bda7 by Steve Lhomme at 2024-07-24T04:54:11+00:00
qt: fix pointer in non-pointer parameter
The 5th parameter of TrackPopupMenu() is an int, and the last parameter is a pointer.
- - - - -
1 changed file:
- modules/gui/qt/maininterface/mainctx_win32.cpp
Changes:
=====================================
modules/gui/qt/maininterface/mainctx_win32.cpp
=====================================
@@ -172,7 +172,7 @@ public:
const int action = TrackPopupMenu(hmenu, (TPM_RETURNCMD | alignment)
, screenPoints.x(), screenPoints.y()
- , NULL, hwnd, 0);
+ , 0, hwnd, nullptr);
// unlike native system menu which sends WM_SYSCOMMAND, TrackPopupMenu sends WM_COMMAND
// imitate native system menu by sending the action manually as WM_SYSCOMMAND
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3ef0bda7b41a14c837ad94beb84d7e25462c2684
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3ef0bda7b41a14c837ad94beb84d7e25462c2684
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