Permalink
Browse files

Tweak mythuiwebbrowser header to work with Qt4 & Qt5.

  • Loading branch information...
daniel-kristjansson committed Feb 27, 2013
1 parent d1c0353 commit ddd9820eb94ea829f90a0bd2ee6ef9150e2a85ca
Showing with 4 additions and 6 deletions.
  1. +4 −6 mythtv/libs/libmythui/mythuiwebbrowser.h
@@ -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
@@ -33,8 +33,6 @@ class MUI_PUBLIC MythUIWebBrowser : public MythUIType
#include <QWebPage>
#include <QNetworkReply>
#include "mythuitype.h"
class MythUIScrollBar;
class MythUIWebBrowser;
class MythUIBusyDialog;
@@ -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 ddd9820

Please sign in to comment.