diff options
author | Robert Loehning <robert.loehning@qt.io> | 2016-11-18 14:01:01 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2016-11-19 00:25:38 +0000 |
commit | e2d142c7cf7cc172981314e43febede7366785d9 (patch) | |
tree | 39c861751b8ba4bede6dae9f31c017657af3da3e /src/app/main.cpp | |
parent | 3ab464dffd2b8bd7beefee8fdf2997d289e1437e (diff) | |
download | qt-creator-e2d142c7cf7cc172981314e43febede7366785d9.tar.gz |
Don't crash when Help mode uses WebEngine
Task-number: QTCREATORBUG-17296
Change-Id: I8527c340e2b5af1e7f0b0d1f62ff03cd30c06ff2
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/app/main.cpp')
-rw-r--r-- | src/app/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp index 85fe4e5e89..de23bea974 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(); |