1
0

rm qt icons file

so we don't need pyrcc5, which is not deterministic,
and so we don't need the submodule for the icons

based on electrumsv/electrumsv@bf8802c2ea
This commit is contained in:
SomberNight
2019-02-01 19:01:21 +01:00
parent 3ad6f738bd
commit 16bac5fd73
38 changed files with 109 additions and 216 deletions

View File

@@ -73,8 +73,8 @@ class QtHandlerBase(QObject, PrintError):
def _update_status(self, paired):
if hasattr(self, 'button'):
button = self.button
icon = button.icon_paired if paired else button.icon_unpaired
button.setIcon(QIcon(icon))
icon_name = button.icon_paired if paired else button.icon_unpaired
button.setIcon(read_QIcon(icon_name))
def query_choice(self, msg, labels):
self.done.clear()
@@ -234,4 +234,4 @@ class QtPluginBase(object):
def show_address():
addr = receive_address_e.text()
keystore.thread.add(partial(plugin.show_address, wallet, addr, keystore))
receive_address_e.addButton(":icons/eye1.png", show_address, _("Show on {}").format(plugin.device))
receive_address_e.addButton("eye1.png", show_address, _("Show on {}").format(plugin.device))