summaryrefslogtreecommitdiffstats
path: root/src/webengine
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-07-01 18:24:39 +0200
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-08-01 15:32:41 +0200
commitf5e77e9481ed32564d6692f317dbc387b5b464ce (patch)
treed42d5055bc063a83a27aae04633aab5c76307ce5 /src/webengine
parent7696dcdb51b30e1a95d8a9b604aeaf58be9f50cf (diff)
Drop 5.2 support
We actually already depend on dev (5.4) in other areas. Change-Id: Iab297a51ab06209a96f11f97c74463d38203eda8 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/webengine')
-rw-r--r--src/webengine/api/qtwebengineglobal.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/webengine/api/qtwebengineglobal.cpp b/src/webengine/api/qtwebengineglobal.cpp
index 7340d32d1..0a1d6a449 100644
--- a/src/webengine/api/qtwebengineglobal.cpp
+++ b/src/webengine/api/qtwebengineglobal.cpp
@@ -44,7 +44,6 @@
#include <QGuiApplication>
#include <QThread>
#include <private/qopenglcontext_p.h>
-#include <private/qsgcontext_p.h>
static QOpenGLContext *shareContext;
@@ -72,10 +71,6 @@ void QWebEngine::initialize()
shareContext = new QOpenGLContext;
shareContext->create();
qAddPostRoutine(deleteShareContext);
-#if (QT_VERSION < QT_VERSION_CHECK(5, 3, 0))
- QSGContext::setSharedOpenGLContext(shareContext);
-#else
QOpenGLContextPrivate::setGlobalShareContext(shareContext);
-#endif
}