1
0

Plugins: remove init_qt hook; clean up

Fixes #1644
This commit is contained in:
Neil Booth
2016-01-24 20:14:08 +09:00
parent 93e0c72ce2
commit e20369bf94
3 changed files with 14 additions and 16 deletions

View File

@@ -92,7 +92,6 @@ class ElectrumGui:
self.build_tray_menu()
self.tray.show()
self.app.connect(self.app, QtCore.SIGNAL('new_window'), self.start_new_window)
run_hook('init_qt', self)
def build_tray_menu(self):
# Avoid immediate GC of old menu when window closed via its action

View File

@@ -2933,7 +2933,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
p = plugins.toggle(name)
cb.setChecked(bool(p))
enable_settings_widget(p, name, i)
run_hook('init_qt', self.gui_object)
for i, descr in enumerate(plugins.descriptions.values()):
name = descr['__name__']