use custom icons for favorites

This commit is contained in:
2022-09-10 20:40:49 +02:00
parent 6fa84d6b2f
commit ce21f6f9ed
2 changed files with 10 additions and 1 deletions

9
icons/myicons/star.svg Normal file
View File

@@ -0,0 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 16 16">
<path style="stroke:black;fill:black;stroke-linejoin:round;"
d="M8,1
L10,6 L15,6
L11,9 L13,14
L8,11
L3,14 L5,9
L1,6 L6,6Z"/>
</svg>

After

Width:  |  Height:  |  Size: 261 B

View File

@@ -151,7 +151,7 @@ class FilterWidget(QWidget):
self.btn_cancel_search.pressed.connect(self._cancel_search) self.btn_cancel_search.pressed.connect(self._cancel_search)
self.search_is_running.connect(self.search_running_status_changed) self.search_is_running.connect(self.search_running_status_changed)
self.btn_bookmark = QPushButton(Icon("icons/ionicons/star.svg"), "") self.btn_bookmark = QPushButton(Icon("icons/myicons/star.svg"), "")
self.btn_bookmark.setToolTip(_("save query")) self.btn_bookmark.setToolTip(_("save query"))
self.btn_bookmark.pressed.connect(self._save_query) self.btn_bookmark.pressed.connect(self._save_query)