Skip to content

Commit

Permalink
Merge pull request #5896 from drew2a/fix/5894
Browse files Browse the repository at this point in the history
Change mousePressEvent signature
  • Loading branch information
drew2a committed Dec 30, 2020
2 parents 2b4858f + fa9ec62 commit 2fb03dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tribler-gui/tribler_gui/dialogs/startdownloaddialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def on_received_metainfo(self, response):

self.received_metainfo.emit(metainfo)

def on_reload_torrent_info(self, checked):
def on_reload_torrent_info(self):
"""
This method is called when user clicks the QLabel text showing loading or error message. Here, we reset
the number of retries to fetch the metainfo. Note color of QLabel is also reset to white.
Expand Down
2 changes: 1 addition & 1 deletion src/tribler-gui/tribler_gui/widgets/clickablewidgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ class ClickableLabel(QLabel):
clicked = pyqtSignal()

def mousePressEvent(self, event):
self.clicked.emit(False)
self.clicked.emit()
QLabel.mousePressEvent(self, event)

0 comments on commit 2fb03dd

Please sign in to comment.