1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed 91d44dc

workbench: mark _updateUrlComboToolTip as slot for readability

  • Participants
  • Parent commits e411146
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/workbench.py

View file
  • Ignore whitespace
         opindex = {'incoming': 0, 'pull': 0, 'outgoing': 1, 'push': 1}[op]
         return self.urlCombo.itemData(urlindex).toPyObject()[opindex]
 
+    @pyqtSlot(int)
     def _updateUrlComboToolTip(self, index):
         if not self.urlCombo.count():
             tooltip = _('There are no configured sync paths.\n'