forked from openlp/openlp
Remove the Qt style option - it never worked anyway
This commit is contained in:
parent
954d1618bc
commit
738e8e0283
@ -304,7 +304,6 @@ def parse_options(args=None):
|
|||||||
'off a USB flash drive (not implemented).')
|
'off a USB flash drive (not implemented).')
|
||||||
parser.add_argument('-d', '--dev-version', dest='dev_version', action='store_true',
|
parser.add_argument('-d', '--dev-version', dest='dev_version', action='store_true',
|
||||||
help='Ignore the version file and pull the version directly from Bazaar')
|
help='Ignore the version file and pull the version directly from Bazaar')
|
||||||
parser.add_argument('-s', '--style', dest='style', help='Set the Qt5 style (passed directly to Qt5).')
|
|
||||||
parser.add_argument('-w', '--no-web-server', dest='no_web_server', action='store_true',
|
parser.add_argument('-w', '--no-web-server', dest='no_web_server', action='store_true',
|
||||||
help='Turn off the Web and Socket Server ')
|
help='Turn off the Web and Socket Server ')
|
||||||
parser.add_argument('rargs', nargs='?', default=[])
|
parser.add_argument('rargs', nargs='?', default=[])
|
||||||
@ -343,8 +342,6 @@ def main(args=None):
|
|||||||
log.setLevel(logging.WARNING)
|
log.setLevel(logging.WARNING)
|
||||||
else:
|
else:
|
||||||
log.setLevel(logging.INFO)
|
log.setLevel(logging.INFO)
|
||||||
if args and args.style:
|
|
||||||
qt_args.extend(['-style', args.style])
|
|
||||||
# Throw the rest of the arguments at Qt, just in case.
|
# Throw the rest of the arguments at Qt, just in case.
|
||||||
qt_args.extend(args.rargs)
|
qt_args.extend(args.rargs)
|
||||||
# Bug #1018855: Set the WM_CLASS property in X11
|
# Bug #1018855: Set the WM_CLASS property in X11
|
||||||
|
Loading…
Reference in New Issue
Block a user