Add --qt-name argument. See #514.
This commit is contained in:
parent
359482b511
commit
617cd8977b
@ -74,6 +74,9 @@ It was inspired by other browsers/addons like dwb and Vimperator/Pentadactyl.
|
|||||||
*--no-crash-dialog*::
|
*--no-crash-dialog*::
|
||||||
Don't show a crash dialog.
|
Don't show a crash dialog.
|
||||||
|
|
||||||
|
*--qt-name* 'NAME'::
|
||||||
|
Set the window name.
|
||||||
|
|
||||||
*--qt-style* 'STYLE'::
|
*--qt-style* 'STYLE'::
|
||||||
Set the Qt GUI style to use.
|
Set the Qt GUI style to use.
|
||||||
|
|
||||||
|
@ -82,6 +82,8 @@ def get_argparser():
|
|||||||
# For the Qt args, we use store_const with const=True rather than
|
# For the Qt args, we use store_const with const=True rather than
|
||||||
# store_true because we want the default to be None, to make
|
# store_true because we want the default to be None, to make
|
||||||
# utils.qt:get_args easier.
|
# utils.qt:get_args easier.
|
||||||
|
debug.add_argument('--qt-name', help="Set the window name.",
|
||||||
|
metavar='NAME')
|
||||||
debug.add_argument('--qt-style', help="Set the Qt GUI style to use.",
|
debug.add_argument('--qt-style', help="Set the Qt GUI style to use.",
|
||||||
metavar='STYLE')
|
metavar='STYLE')
|
||||||
debug.add_argument('--qt-stylesheet', help="Override the Qt application "
|
debug.add_argument('--qt-stylesheet', help="Override the Qt application "
|
||||||
|
Loading…
Reference in New Issue
Block a user