From 617cd8977b7221d7d417ecc4bb4ed72e16fa354e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 21 Feb 2015 18:53:01 +0100 Subject: [PATCH] Add --qt-name argument. See #514. --- doc/qutebrowser.1.asciidoc | 3 +++ qutebrowser/qutebrowser.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/doc/qutebrowser.1.asciidoc b/doc/qutebrowser.1.asciidoc index 3ea324ff5..8f8a82390 100644 --- a/doc/qutebrowser.1.asciidoc +++ b/doc/qutebrowser.1.asciidoc @@ -74,6 +74,9 @@ It was inspired by other browsers/addons like dwb and Vimperator/Pentadactyl. *--no-crash-dialog*:: Don't show a crash dialog. +*--qt-name* 'NAME':: + Set the window name. + *--qt-style* 'STYLE':: Set the Qt GUI style to use. diff --git a/qutebrowser/qutebrowser.py b/qutebrowser/qutebrowser.py index 00b41c39b..73061451e 100644 --- a/qutebrowser/qutebrowser.py +++ b/qutebrowser/qutebrowser.py @@ -82,6 +82,8 @@ def get_argparser(): # 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 # 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.", metavar='STYLE') debug.add_argument('--qt-stylesheet', help="Override the Qt application "