mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1901795 [[Enhancement] Close button in the Get books dialog has a different icon than the other dialog dialogs](https://bugs.launchpad.net/calibre/+bug/1901795)
This commit is contained in:
parent
b19dd8881e
commit
5a5c8a3f80
@ -33,6 +33,8 @@ class SearchDialog(QDialog, Ui_Dialog):
|
||||
def __init__(self, gui, parent=None, query=''):
|
||||
QDialog.__init__(self, parent)
|
||||
self.setupUi(self)
|
||||
s = self.style()
|
||||
self.close.setIcon(s.standardIcon(s.SP_DialogCloseButton))
|
||||
|
||||
self.config = JSONConfig('store/search')
|
||||
self.search_title.initialize('store_search_search_title')
|
||||
|
@ -333,10 +333,6 @@
|
||||
<property name="text">
|
||||
<string>&Close</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../../../../../resources/images.qrc">
|
||||
<normaloff>:/images/window-close.png</normaloff>:/images/window-close.png</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user