mirror of https://github.com/nextcloud/desktop
set OpenGL software rendering and set similar options for webview
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
bc7519a49c
commit
e581805138
|
@ -58,6 +58,9 @@ 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
|
||||
|
|
Loading…
Reference in New Issue