Get rid of --no-crash-dialog.
This commit is contained in:
parent
b94fcf2c3c
commit
f6ad556f34
@ -48,6 +48,11 @@ Deprecated
|
||||
|
||||
- `:scroll` with two pixel-arguments is now deprecated - `:scroll-px` should be used instead.
|
||||
|
||||
Removed
|
||||
~~~~~~~
|
||||
|
||||
- The `--no-crash-dialog` argument which was intended for debugging only was removed as it's replaced by `--no-err-windows` which suppresses all error windows.
|
||||
|
||||
Fixed
|
||||
~~~~~
|
||||
|
||||
|
@ -90,9 +90,6 @@ show it.
|
||||
*--debug-exit*::
|
||||
Turn on debugging of late exit.
|
||||
|
||||
*--no-crash-dialog*::
|
||||
Don't show a crash dialog.
|
||||
|
||||
*--pdb-postmortem*::
|
||||
Drop into pdb on exceptions.
|
||||
|
||||
|
@ -212,8 +212,7 @@ class CrashHandler(QObject):
|
||||
if self._args.pdb_postmortem:
|
||||
pdb.post_mortem(tb)
|
||||
|
||||
if (is_ignored_exception or self._args.no_crash_dialog or
|
||||
self._args.pdb_postmortem):
|
||||
if is_ignored_exception or self._args.pdb_postmortem:
|
||||
# pdb exit, KeyboardInterrupt, ...
|
||||
status = 0 if is_ignored_exception else 2
|
||||
try:
|
||||
|
@ -90,8 +90,6 @@ def get_argparser():
|
||||
"the main window.")
|
||||
debug.add_argument('--debug-exit', help="Turn on debugging of late exit.",
|
||||
action='store_true')
|
||||
debug.add_argument('--no-crash-dialog', action='store_true', help="Don't "
|
||||
"show a crash dialog.")
|
||||
debug.add_argument('--pdb-postmortem', action='store_true',
|
||||
help="Drop into pdb on exceptions.")
|
||||
debug.add_argument('--temp-basedir', action='store_true', help="Use a "
|
||||
|
Loading…
Reference in New Issue
Block a user