Fix code style

CURA-4195
This commit is contained in:
Lipu Fei 2017-10-17 09:30:49 +02:00
parent ac2484ea87
commit 396d960f4a

View file

@ -44,11 +44,11 @@ fatal_exception_types = [
SystemError,
]
class CrashHandler:
crash_url = "https://stats.ultimaker.com/api/cura"
def __init__(self, exception_type, value, tb):
self.exception_type = exception_type
self.value = value
self.traceback = tb
@ -73,7 +73,6 @@ class CrashHandler:
## Creates a modal dialog.
def _createDialog(self):
self.dialog = QDialog()
self.dialog.setMinimumWidth(640)
self.dialog.setMinimumHeight(640)
@ -226,7 +225,6 @@ class CrashHandler:
return group
def _userDescriptionWidget(self):
group = QGroupBox()
group.setTitle(catalog.i18nc("@title:groupbox", "User description"))