From ff575c452bf68f8ecc739979b2638f2a06d1acce Mon Sep 17 00:00:00 2001 From: Keshav Bhatt Date: Wed, 31 Aug 2022 14:28:58 +0530 Subject: chore: some enhancements - webengine multiprocess - webengine disable sandbox - minor memory usage improvements --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 84720ef..19cbcad 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -16,9 +16,9 @@ int main(int argc, char *argv[]) { QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); #ifdef QT_DEBUG - qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--remote-debugging-port=9421"); + qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--remote-debugging-port=9421 --ignore-gpu-blocklist --no-sandbox"); #else - qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-logging --single-process"); + qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-logging --ignore-gpu-blocklist --no-sandbox"); //--single-process #endif SingleApplication instance(argc, argv, true); -- cgit v1.2.3