mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 11:15:54 +08:00
Fix code style
CURA-4195
This commit is contained in:
parent
ac2484ea87
commit
396d960f4a
@ -44,11 +44,11 @@ fatal_exception_types = [
|
|||||||
SystemError,
|
SystemError,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
class CrashHandler:
|
class CrashHandler:
|
||||||
crash_url = "https://stats.ultimaker.com/api/cura"
|
crash_url = "https://stats.ultimaker.com/api/cura"
|
||||||
|
|
||||||
def __init__(self, exception_type, value, tb):
|
def __init__(self, exception_type, value, tb):
|
||||||
|
|
||||||
self.exception_type = exception_type
|
self.exception_type = exception_type
|
||||||
self.value = value
|
self.value = value
|
||||||
self.traceback = tb
|
self.traceback = tb
|
||||||
@ -73,7 +73,6 @@ class CrashHandler:
|
|||||||
|
|
||||||
## Creates a modal dialog.
|
## Creates a modal dialog.
|
||||||
def _createDialog(self):
|
def _createDialog(self):
|
||||||
|
|
||||||
self.dialog = QDialog()
|
self.dialog = QDialog()
|
||||||
self.dialog.setMinimumWidth(640)
|
self.dialog.setMinimumWidth(640)
|
||||||
self.dialog.setMinimumHeight(640)
|
self.dialog.setMinimumHeight(640)
|
||||||
@ -226,7 +225,6 @@ class CrashHandler:
|
|||||||
|
|
||||||
return group
|
return group
|
||||||
|
|
||||||
|
|
||||||
def _userDescriptionWidget(self):
|
def _userDescriptionWidget(self):
|
||||||
group = QGroupBox()
|
group = QGroupBox()
|
||||||
group.setTitle(catalog.i18nc("@title:groupbox", "User description"))
|
group.setTitle(catalog.i18nc("@title:groupbox", "User description"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user