summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZoltan Arvai <zarvai@inf.u-szeged.hu>2014-02-06 22:26:43 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-11 15:01:26 +0100
commit45e3f34fba7f499d58352951d8e8777c47c229d2 (patch)
tree39764acb59a3c6208e8232be0265f458a9f89f02 /src
parent8bd101c4ce0fb3f1198f31ce4966b20b78169e34 (diff)
Fix WebEngine api build on Windows
QQuickWebEngineViewPrivate needs a destructor to work right with WebContentsAdapter. Change-Id: I3df1b452eeaf3a7516eace9268884ff6d1211e44 Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/webengine/api/qquickwebengineview.cpp4
-rw-r--r--src/webengine/api/qquickwebengineview_p_p.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/webengine/api/qquickwebengineview.cpp b/src/webengine/api/qquickwebengineview.cpp
index e91f2ee7..043a7f84 100644
--- a/src/webengine/api/qquickwebengineview.cpp
+++ b/src/webengine/api/qquickwebengineview.cpp
@@ -92,6 +92,10 @@ QQuickWebEngineViewPrivate::QQuickWebEngineViewPrivate()
}
}
+QQuickWebEngineViewPrivate::~QQuickWebEngineViewPrivate()
+{
+}
+
QQuickWebEngineViewExperimental *QQuickWebEngineViewPrivate::experimental() const
{
return e.data();
diff --git a/src/webengine/api/qquickwebengineview_p_p.h b/src/webengine/api/qquickwebengineview_p_p.h
index d35758d7..f61e439d 100644
--- a/src/webengine/api/qquickwebengineview_p_p.h
+++ b/src/webengine/api/qquickwebengineview_p_p.h
@@ -125,6 +125,7 @@ class Q_WEBENGINE_PRIVATE_EXPORT QQuickWebEngineViewPrivate : public QQuickItemP
public:
Q_DECLARE_PUBLIC(QQuickWebEngineView)
QQuickWebEngineViewPrivate();
+ ~QQuickWebEngineViewPrivate();
QQuickWebEngineViewExperimental *experimental() const;
QQuickWebEngineViewport *viewport() const;