aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-08-31 14:28:58 +0530
committerLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-08-31 14:28:58 +0530
commitff575c452bf68f8ecc739979b2638f2a06d1acce (patch)
tree575cc7417c75b41ea69665f537254d7875af4ce8 /src/main.cpp
parentd03e9fc67023375d36cba3daeb11fe1e56b82257 (diff)
downloadwhatsie-ff575c452bf68f8ecc739979b2638f2a06d1acce.tar.gz
whatsie-ff575c452bf68f8ecc739979b2638f2a06d1acce.zip
chore: some enhancements
- webengine multiprocess - webengine disable sandbox - minor memory usage improvements
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
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);