--- a/Preferences/ShortcutsDialog.py Mon Nov 12 17:46:11 2012 +0100 +++ b/Preferences/ShortcutsDialog.py Mon Nov 12 19:04:11 2012 +0100 @@ -16,8 +16,6 @@ from .Ui_ShortcutsDialog import Ui_ShortcutsDialog from .ShortcutDialog import ShortcutDialog -import UI.PixmapCache - import Preferences from Preferences import Shortcuts @@ -48,7 +46,6 @@ self.setModal(modal) self.setupUi(self) - self.clearSearchButton.setIcon(UI.PixmapCache.getIcon("clearLeft.png")) self.shortcutsList.headerItem().setText(self.shortcutsList.columnCount(), "") self.shortcutsList.header().setSortIndicator(0, Qt.AscendingOrder) @@ -429,12 +426,6 @@ itm.setHidden(False) topItem.setHidden(childHiddenCount == topItem.childCount()) - @pyqtSlot() - def on_clearSearchButton_clicked(self): - """ - Private slot called by a click of the clear search button. - """ - self.searchEdit.clear() @pyqtSlot(bool) def on_actionButton_toggled(self, checked):