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>
This commit is contained in:
Robert Loehning
2016-11-18 14:01:01 +01:00
parent 3ab464dffd
commit e2d142c7cf

View File

@@ -311,6 +311,7 @@ int main(int argc, char **argv)
setrlimit(RLIMIT_NOFILE, &rl); setrlimit(RLIMIT_NOFILE, &rl);
#endif #endif
SharedTools::QtSingleApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
SharedTools::QtSingleApplication app((QLatin1String(appNameC)), argc, argv); SharedTools::QtSingleApplication app((QLatin1String(appNameC)), argc, argv);
loadFonts(); loadFonts();