From c4f19e2db7a25132907b96db820d4dd647bbc497 Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Wed, 25 Jan 2023 20:16:39 -0500 Subject: Remove ifdefs for Qt 5 support. --- ui/reportwidget.h | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'ui/reportwidget.h') diff --git a/ui/reportwidget.h b/ui/reportwidget.h index 515cb395..b9b2441b 100644 --- a/ui/reportwidget.h +++ b/ui/reportwidget.h @@ -3,35 +3,10 @@ #include #include #include -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) - #include - #include - #include - #include - #include -#else - #include -#endif #include "binaryninjaapi.h" #include "action.h" #include "theme.h" -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) -class WebPage2 : public QWebEnginePage -{ - Q_OBJECT - - public: - WebPage2(QObject* parent = nullptr) : QWebEnginePage(parent) {} - - protected: - virtual bool acceptNavigationRequest(const QUrl& url, QWebEnginePage::NavigationType type, bool isMainFrame); - - Q_SIGNALS: - void linkClicked(const QUrl&); -}; -#endif - /*! \defgroup reportwidget @@ -45,11 +20,7 @@ class BINARYNINJAUIAPI ReportWidget : public QScrollArea, public UIActionHandler { Q_OBJECT -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) - QWebEngineView* m_contents; -#else QTextBrowser* m_contents; -#endif BinaryViewRef m_view; std::string m_original; std::string m_title; -- cgit v1.3.1