Skip to content

Commit

Permalink
Tweak mythuiwebbrowser header to work with Qt4 & Qt5.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson authored and jyavenard committed Mar 8, 2013
1 parent 32435cc commit 57e7dc8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions mythtv/libs/libmythui/mythuiwebbrowser.h
Expand Up @@ -3,10 +3,10 @@

#include <QtGlobal>
#include <QUrl>

#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
#include "mythuitype.h"
class QString;
#include "mythuiexp.h"

#if QT_VERSION >= 0x050000
class MUI_PUBLIC MythUIWebBrowser : public MythUIType
{
Q_OBJECT
Expand All @@ -33,8 +33,6 @@ class MUI_PUBLIC MythUIWebBrowser : public MythUIType
#include <QWebPage>
#include <QNetworkReply>

#include "mythuitype.h"

class MythUIScrollBar;
class MythUIWebBrowser;
class MythUIBusyDialog;
Expand Down Expand Up @@ -254,6 +252,6 @@ class MUI_PUBLIC MythUIWebBrowser : public MythUIType
QPoint m_destinationScrollPos;
};

#endif // QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
#endif // version check

#endif

0 comments on commit 57e7dc8

Please sign in to comment.