Fix build for macOS.

This commit is contained in:
John Preston 2021-05-21 22:35:14 +04:00
parent b56749426b
commit ca4b1e6ae0
1 changed files with 1 additions and 1 deletions

View File

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