|
1 | 1 | # -*- coding: utf-8 -*- |
2 | 2 | # |
3 | | -# Copyright (C) 2008 Wilson Pinto Júnior <wilson@openlanhouse.org> |
| 3 | +# Copyright (C) 2008 Wilson Pinto Jᅢᄎnior <wilson@openlanhouse.org> |
4 | 4 | # Copyright (C) 2011 Thomaz de Oliveira dos Reis <thor27@gmail.com> |
5 | 5 | # Copyright (C) 2009 Bruno Goncalves Araujo |
6 | | -# Copyright (C) 2022 Elton Fabrício Ferreira <eltonfabricio10@gmail.com> |
| 6 | +# Copyright (C) 2022 Elton Fabrᅢᆳcio Ferreira <eltonfabricio10@gmail.com> |
7 | 7 | # |
8 | 8 | # This program is free software: you can redistribute it and/or modify |
9 | 9 | # it under the terms of the GNU General Public License as published by |
@@ -270,18 +270,15 @@ def formatter(prog): |
270 | 270 | print('Please install PySide6') |
271 | 271 | sys.exit(1) |
272 | 272 |
|
273 | | - flags = ('--disable-logging --no-sandbox --single-process --disable-gpu-sandbox --in-process-gpu ' |
274 | | - '--autoplay-policy=no-user-gesture-required --disable-back-forward-cache --disable-breakpad ' |
275 | | - '--aggressive-cache-discard --disable-features=BackForwardCache,CacheCodeOnIdle,ConsumeCodeCacheOffThread,WebRtcAllowInputVolumeAdjustment') |
276 | 273 | if args.gpu: |
277 | | - flags += (' --enable-gpu-rasterization') |
| 274 | + flags = (' --enable-gpu-rasterization') |
278 | 275 | else: |
279 | 276 | os.environ['QT_QUICK_BACKEND'] = 'software' |
280 | 277 | os.environ['QT_XCB_GL_INTEGRATION'] = 'none' |
281 | 278 | if os.environ.get('QSG_RENDER_LOOP') == 'basic': |
282 | | - flags += (' --disable-gpu --disable-webgl --disable-accelerated-video-decode --disable-accelerated-video-encode --num-raster-threads=0') |
| 279 | + flags = (' --disable-gpu --disable-webgl --disable-accelerated-video-decode --disable-accelerated-video-encode --num-raster-threads=0') |
283 | 280 | else: |
284 | | - flags += (' --disable-webgl --disable-accelerated-video-decode --disable-accelerated-video-encode --num-raster-threads=0') |
| 281 | + flags = (' --disable-webgl --disable-accelerated-video-decode --disable-accelerated-video-encode --num-raster-threads=0') |
285 | 282 |
|
286 | 283 | # Verify envitonment variable QTWEBENGINE_CHROMIUM_FLAGS if defined |
287 | 284 | if not os.environ.get('QTWEBENGINE_CHROMIUM_FLAGS', ''): |
|
0 commit comments