Fix #if in VideoWindow

.. wrong logic in #if for Linux and Qt5 in both
   the header and source.
This commit is contained in:
Mark Liversedge
2013-12-11 06:52:40 +00:00
parent 38951ef38c
commit c237378c3e
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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