From 700877fab0fd04130815e75c935b8440f447b211 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Tue, 16 Apr 2019 15:01:15 +0200 Subject: Cleanup coding style in src/core/api Change-Id: I1c235d49a9520088142fbc89d21fc589d4037a4f Reviewed-by: Kai Koehne --- src/core/api/qtwebenginecoreglobal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/api/qtwebenginecoreglobal.cpp') diff --git a/src/core/api/qtwebenginecoreglobal.cpp b/src/core/api/qtwebenginecoreglobal.cpp index d857d4f12..ad52d09ad 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) @@ -131,4 +132,3 @@ Q_WEBENGINECORE_PRIVATE_EXPORT void initialize() #endif // QT_NO_OPENGL } } // namespace QtWebEngineCore - -- cgit v1.2.3