소스 검색

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

Fix crash: 'Failed to create OpenGL context'.
Matthieu Gallien 3 년 전
부모
커밋
227e0ede23
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      src/gui/main.cpp

+ 0 - 3
src/gui/main.cpp

@@ -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