diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-05-09 15:22:24 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-05-09 15:22:24 +0200 |
commit | 0eac492b5c66b1774118c387dd527ad419e51be7 (patch) | |
tree | 37324fdefd615e433dd65073390d7b9996d660d3 /src/core/api/qtwebenginecoreglobal.cpp | |
parent | 5d6086d1b97461b35c143839a8a6ba1b990bb87c (diff) | |
parent | 99d46a8a918dee7323bc3d4f1624c47c097f9a3a (diff) |
Merge remote-tracking branch 'origin/5.13' into dev
Change-Id: I495adfcbb010ac29dc64e051c030a92d27859ca6
Diffstat (limited to 'src/core/api/qtwebenginecoreglobal.cpp')
-rw-r--r-- | src/core/api/qtwebenginecoreglobal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/api/qtwebenginecoreglobal.cpp b/src/core/api/qtwebenginecoreglobal.cpp index abdb92e28..abc2bd406 100644 --- a/src/core/api/qtwebenginecoreglobal.cpp +++ b/src/core/api/qtwebenginecoreglobal.cpp @@ -58,7 +58,8 @@ QT_END_NAMESPACE #ifndef QT_NO_OPENGL #ifdef Q_OS_MACOS -static bool needsOfflineRendererWorkaround() { +static bool needsOfflineRendererWorkaround() +{ size_t hwmodelsize = 0; if (sysctlbyname("hw.model", nullptr, &hwmodelsize, nullptr, 0) == -1) @@ -134,4 +135,3 @@ Q_WEBENGINECORE_PRIVATE_EXPORT void initialize() #endif // QT_NO_OPENGL } } // namespace QtWebEngineCore - |