Use double dashes for --qt-arg/--qt-flag
Qt seems to not care about -style vs --style, but this way we can also pass stuff to Chromium.
This commit is contained in:
parent
c59b6bf02b
commit
94cabdb840
@ -141,11 +141,11 @@ def get_args(namespace):
|
||||
argv = [sys.argv[0]]
|
||||
|
||||
if namespace.qt_flag is not None:
|
||||
argv += ['-' + flag[0] for flag in namespace.qt_flag]
|
||||
argv += ['--' + flag[0] for flag in namespace.qt_flag]
|
||||
|
||||
if namespace.qt_arg is not None:
|
||||
for name, value in namespace.qt_arg:
|
||||
argv += ['-' + name, value]
|
||||
argv += ['--' + name, value]
|
||||
|
||||
return argv
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user