mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue