mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Enable overlay widgets on supported platforms only
Windows and Linux when using VLC video, tested when using both Qt5 and Qt6. All platforms when using Qt6 video, macOS is experimental, more testing is required.
This commit is contained in:
@@ -126,7 +126,7 @@ VideoWindow::VideoWindow(Context *context) :
|
||||
layout->addWidget(container);
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) || defined(Q_OS_LINUX)
|
||||
#if defined(GC_VIDEO_QT6) || defined (GC_VIDEO_VLC) && (defined(WIN32) || defined(Q_OS_LINUX))
|
||||
if (init) {
|
||||
// Read the video layouts just to list the names for the layout selector
|
||||
readVideoLayout(-1);
|
||||
|
||||
Reference in New Issue
Block a user