mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 21:35:47 +03:00
Fix crash: 'Failed to create OpenGL context'.
Signed-off-by: allexzander <blackslayer4@gmail.com>
This commit is contained in:
parent
feffc25683
commit
ff0a058f66
1 changed files with 0 additions and 3 deletions
|
@ -58,9 +58,6 @@ void warnSystray()
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-gpu --no-sandbox");
|
|
||||||
QCoreApplication::setAttribute(Qt::AA_UseSoftwareOpenGL, true);
|
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
SetDllDirectory(L"");
|
SetDllDirectory(L"");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue