Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.3, 2.0, and 2.0.1

stable repofilter: use better icon and tooltip for clear button

Changeset af059a6be99d

Parent 19482bee7ddb

by Steve Borho

Changes to one file · Browse files at af059a6be99d Showing diff from parent 19482bee7ddb Diff from another changeset...

 
52
53
54
55
56
57
58
59
60
 
 
61
62
63
 
76
77
78
79
 
80
81
82
 
52
53
54
 
 
 
55
 
 
56
57
58
59
60
 
73
74
75
 
76
77
78
79
@@ -52,12 +52,9 @@
  combo.activated.connect(le.selectAll)   self.revsetle = le   - icon = QIcon() - style = QApplication.style() - icon.addPixmap(style.standardPixmap(QStyle.SP_DialogDiscardButton))   self.clearBtn = QToolButton(self) - self.clearBtn.setIcon(icon) - self.clearBtn.setToolTip(_('Discard or clear current query')) + self.clearBtn.setIcon(qtlib.geticon('filedelete')) + self.clearBtn.setToolTip(_('Clear current query and query text'))   self.clearBtn.clicked.connect(le.clear)   self.clearBtn.clicked.connect(self.clearRevisionSet)   self.addWidget(self.clearBtn) @@ -76,7 +73,7 @@
  self.addWidget(self.editorBtn)     icon = QIcon() - icon.addPixmap(style.standardPixmap(QStyle.SP_TrashIcon)) + icon.addPixmap(QApplication.style().standardPixmap(QStyle.SP_TrashIcon))   self.deleteBtn = QToolButton()   self.deleteBtn.setIcon(icon)   self.deleteBtn.setToolTip(_('Delete selected query from history'))