Merge pull request #4821 from nextcloud/bugfix/opengl-context-failure

Fix crash: 'Failed to create OpenGL context'.
This commit is contained in:
Matthieu Gallien 2022-08-05 16:15:16 +02:00 committed by GitHub
commit 227e0ede23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,9 +58,6 @@ void warnSystray()
int main(int argc, char **argv)
{
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-gpu --no-sandbox");
QCoreApplication::setAttribute(Qt::AA_UseSoftwareOpenGL, true);
#ifdef Q_OS_WIN
SetDllDirectory(L"");
#endif