Change the icon for the advanced search button in the Get books dialog to match that used int he main window

This commit is contained in:
Kovid Goyal 2017-06-20 20:47:32 +05:30
parent 18273cb24a
commit ccaf31e3ec
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -80,7 +80,8 @@ class SearchDialog(QDialog, Ui_Dialog):
self.button_layout.setAlignment(Qt.AlignCenter)
self.button_layout.insertWidget(0, self.pi, 0, Qt.AlignCenter)
self.adv_search_button.setIcon(QIcon(I('search.png')))
self.adv_search_button.setIcon(QIcon(I('gear.png')))
self.adv_search_button.setToolTip(_('Advanced search'))
self.configure.setIcon(QIcon(I('config.png')))
self.adv_search_button.clicked.connect(self.build_adv_search)