Remove "debug mode" command line parameter

We never used it and it doesn't really work anyway.
This commit is contained in:
Arjen Hiemstra 2016-12-08 15:31:51 +01:00
parent 0e3ffe997a
commit d641234a74
2 changed files with 0 additions and 3 deletions

View file

@ -23,8 +23,6 @@ fatal_exception_types = [
def show(exception_type, value, tb):
debug_mode = False
if QCoreApplication.instance():
debug_mode = QCoreApplication.instance().getCommandLineOption("debug-mode", False)
Logger.log("c", "An uncaught exception has occurred!")
for line in traceback.format_exception(exception_type, value, tb):