mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fix build error on VideoWindow when building with Qt5 video
This bug was introduced by #3764 Fixes #3907
This commit is contained in:
@@ -222,7 +222,7 @@ bool VideoWindow::hasActiveVideo() const
|
||||
}
|
||||
#endif
|
||||
#ifdef GC_VIDEO_QT5
|
||||
if (LoadedMedia == mp->mediaStatus())
|
||||
if (mp->state() != QMediaPlayer::StoppedState)
|
||||
return true;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user