Skip to content

Commit c399109

Browse files
author
ThomasV
committed
move init_qt hook
1 parent d0e2f0a commit c399109

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/plugins.py

-2
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@ def disable(self):
168168
self.set_enabled(False)
169169
return True
170170

171-
def init_qt(self, gui): pass
172-
173171
@hook
174172
def load_wallet(self, wallet, window): pass
175173

plugins/audio_modem.py

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ def __init__(self, config, name):
3535
'Linux': 'libportaudio.so'
3636
}[platform.system()]
3737

38+
@hook
39+
def init_qt(self, gui):
40+
pass
41+
3842
def is_available(self):
3943
return amodem is not None
4044

0 commit comments

Comments
 (0)