projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc7519a
)
set OpenGL software rendering and set similar options for webview
author
Matthieu Gallien
<matthieu.gallien@nextcloud.com>
Fri, 20 May 2022 13:38:26 +0000
(15:38 +0200)
committer
Matthieu Gallien
<matthieu_gallien@yahoo.fr>
Fri, 24 Jun 2022 06:00:48 +0000
(08:00 +0200)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/gui/main.cpp
patch
|
blob
|
history
diff --git
a/src/gui/main.cpp
b/src/gui/main.cpp
index 8b95de13888bbbf36f5242ccc974bd42c8b30b9e..5ef836f01dd5560b05cc44476789196f5cfc35d6 100644
(file)
--- a/
src/gui/main.cpp
+++ b/
src/gui/main.cpp
@@
-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