Skip to content

Commit

Permalink
Merge pull request #5942 from drew2a/feature/improve_feedback_dialog
Browse files Browse the repository at this point in the history
Replace "comments" field by "what were you doing before" question.
  • Loading branch information
drew2a committed Jan 15, 2021
2 parents da11361 + dcc8e1c commit 84501e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/tribler-gui/tribler_gui/dialogs/feedbackdialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ def __init__( # pylint: disable=too-many-arguments, too-many-locals

# Qt 5.2 does not have the setPlaceholderText property
if hasattr(self.comments_text_edit, "setPlaceholderText"):
self.comments_text_edit.setPlaceholderText("Comments (optional)")
placeholder = "What were you doing before this crash happened? " \
"This information will help Tribler developers to figure out and fix the issue quickly."
self.comments_text_edit.setPlaceholderText(placeholder)

def add_item_to_info_widget(key, value):
item = QTreeWidgetItem(self.env_variables_list)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ background-color: #303030;
</size>
</property>
<property name="text">
<string>Comments (optional):</string>
<string>Additional information:</string>
</property>
<property name="wordWrap">
<bool>true</bool>
Expand Down

0 comments on commit 84501e2

Please sign in to comment.