mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Fix #if in VideoWindow
.. wrong logic in #if for Linux and Qt5 in both the header and source.
This commit is contained in:
@@ -89,7 +89,7 @@ VideoWindow::VideoWindow(Context *context, const QDir &home) :
|
||||
|
||||
VideoWindow::~VideoWindow()
|
||||
{
|
||||
#ifdef Q_OS_LINUX && QT_VERSION < 0x050000 //XXX IN PORT TO QT 5.1 THIS IS BROKEN CODE XXX
|
||||
#if (defined Q_OS_LINUX) && (QT_VERSION < 0x050000) //XXX IN PORT TO QT 5.1 THIS IS BROKEN CODE XXX
|
||||
// unembed vlc backend first
|
||||
x11Container->discardClient();
|
||||
#endif
|
||||
|
||||
@@ -39,7 +39,7 @@ extern "C" {
|
||||
#include "RealtimeData.h"
|
||||
#include "TrainSidebar.h"
|
||||
|
||||
#ifdef Q_OS_LINUX && QT_VERSION < 0x050000
|
||||
#if (defined Q_OS_LINUX) && (QT_VERSION < 0x050000)
|
||||
#include <QX11EmbedContainer>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user