mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 21:58:01 -06:00
Remove "debug mode" command line parameter
We never used it and it doesn't really work anyway.
This commit is contained in:
parent
0e3ffe997a
commit
d641234a74
2 changed files with 0 additions and 3 deletions
|
@ -23,8 +23,6 @@ fatal_exception_types = [
|
||||||
|
|
||||||
def show(exception_type, value, tb):
|
def show(exception_type, value, tb):
|
||||||
debug_mode = False
|
debug_mode = False
|
||||||
if QCoreApplication.instance():
|
|
||||||
debug_mode = QCoreApplication.instance().getCommandLineOption("debug-mode", False)
|
|
||||||
|
|
||||||
Logger.log("c", "An uncaught exception has occurred!")
|
Logger.log("c", "An uncaught exception has occurred!")
|
||||||
for line in traceback.format_exception(exception_type, value, tb):
|
for line in traceback.format_exception(exception_type, value, tb):
|
||||||
|
|
|
@ -407,7 +407,6 @@ class CuraApplication(QtApplication):
|
||||||
def addCommandLineOptions(self, parser):
|
def addCommandLineOptions(self, parser):
|
||||||
super().addCommandLineOptions(parser)
|
super().addCommandLineOptions(parser)
|
||||||
parser.add_argument("file", nargs="*", help="Files to load after starting the application.")
|
parser.add_argument("file", nargs="*", help="Files to load after starting the application.")
|
||||||
parser.add_argument("--debug", dest="debug-mode", action="store_true", default=False, help="Enable detailed crash reports.")
|
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self.showSplashMessage(self._i18n_catalog.i18nc("@info:progress", "Setting up scene..."))
|
self.showSplashMessage(self._i18n_catalog.i18nc("@info:progress", "Setting up scene..."))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue