mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 00:49:55 +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
|
||||
|
||||
Reference in New Issue
Block a user