From e2d142c7cf7cc172981314e43febede7366785d9 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Fri, 18 Nov 2016 14:01:01 +0100 Subject: [PATCH] Don't crash when Help mode uses WebEngine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTCREATORBUG-17296 Change-Id: I8527c340e2b5af1e7f0b0d1f62ff03cd30c06ff2 Reviewed-by: Michael BrĂ¼ning Reviewed-by: Eike Ziller --- src/app/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/main.cpp b/src/app/main.cpp index 85fe4e5e896..de23bea974d 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -311,6 +311,7 @@ int main(int argc, char **argv) setrlimit(RLIMIT_NOFILE, &rl); #endif + SharedTools::QtSingleApplication::setAttribute(Qt::AA_ShareOpenGLContexts); SharedTools::QtSingleApplication app((QLatin1String(appNameC)), argc, argv); loadFonts();