Fix build for macOS.

This commit is contained in:
John Preston 2021-05-21 22:35:14 +04:00
parent b56749426b
commit ca4b1e6ae0

View file

@ -461,7 +461,7 @@ OverlayWidget::OverlayWidget()
#if defined Q_OS_MAC && !defined OS_OSX #if defined Q_OS_MAC && !defined OS_OSX
TouchBar::SetupMediaViewTouchBar( TouchBar::SetupMediaViewTouchBar(
winId(), _widget->winId(),
static_cast<PlaybackControls::Delegate*>(this), static_cast<PlaybackControls::Delegate*>(this),
_touchbarTrackState.events(), _touchbarTrackState.events(),
_touchbarDisplay.events(), _touchbarDisplay.events(),