mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Removed the user input from the CrashHandler as we are not using it for sending that data to Sentry
CURA-7223
This commit is contained in:
parent
507459660e
commit
a4a076ea5c
1 changed files with 0 additions and 19 deletions
|
@ -161,7 +161,6 @@ class CrashHandler:
|
|||
layout.addWidget(self._informationWidget())
|
||||
layout.addWidget(self._exceptionInfoWidget())
|
||||
layout.addWidget(self._logInfoWidget())
|
||||
layout.addWidget(self._userDescriptionWidget())
|
||||
layout.addWidget(self._buttonsWidget())
|
||||
|
||||
def _close(self):
|
||||
|
@ -374,21 +373,6 @@ class CrashHandler:
|
|||
|
||||
return group
|
||||
|
||||
def _userDescriptionWidget(self):
|
||||
group = QGroupBox()
|
||||
group.setTitle(catalog.i18nc("@title:groupbox", "User description" +
|
||||
" (Note: Developers may not speak your language, please use English if possible)"))
|
||||
layout = QVBoxLayout()
|
||||
|
||||
# When sending the report, the user comments will be collected
|
||||
self.user_description_text_area = QTextEdit()
|
||||
self.user_description_text_area.setFocus(True)
|
||||
|
||||
layout.addWidget(self.user_description_text_area)
|
||||
group.setLayout(layout)
|
||||
|
||||
return group
|
||||
|
||||
def _buttonsWidget(self):
|
||||
buttons = QDialogButtonBox()
|
||||
buttons.addButton(QDialogButtonBox.Close)
|
||||
|
@ -403,9 +387,6 @@ class CrashHandler:
|
|||
return buttons
|
||||
|
||||
def _sendCrashReport(self):
|
||||
# Before sending data, the user comments are stored
|
||||
self.data["user_info"] = self.user_description_text_area.toPlainText()
|
||||
|
||||
if with_sentry_sdk:
|
||||
try:
|
||||
hub = Hub.current
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue