summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/browser/history.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webenginewidgets/browser/history.h')
-rw-r--r--examples/webenginewidgets/browser/history.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/examples/webenginewidgets/browser/history.h b/examples/webenginewidgets/browser/history.h
index 3519d31b6..bcb9c9b28 100644
--- a/examples/webenginewidgets/browser/history.h
+++ b/examples/webenginewidgets/browser/history.h
@@ -52,10 +52,6 @@
#include <QtCore/QSortFilterProxyModel>
-#if defined(QWEBENGINEHISTORYINTERFACE)
-#include <QWebEngineHistoryInterface>
-#endif
-
class HistoryItem
{
public:
@@ -82,12 +78,7 @@ class HistoryModel;
class HistoryFilterModel;
class HistoryTreeModel;
-class HistoryManager
-#if defined(QWEBENGINEHISTORYINTERFACE)
- : public QWebEngineHistoryInterface
-#else
- : public QObject
-#endif
+class HistoryManager : public QObject
{
Q_OBJECT
Q_PROPERTY(int historyLimit READ historyLimit WRITE setHistoryLimit)