Browse Source

SIGNALs should use the correct syntax for names of "foo()", not "foo"

283
Amir Taaki 13 years ago
parent
commit
ab55b7d7cb
  1. 4
      lib/gui_lite.py

4
lib/gui_lite.py

@ -266,13 +266,13 @@ class MiniDriver(QObject):
self.state = None self.state = None
self.initializing() self.initializing()
self.connect(self, SIGNAL("updatesignal"), self.update) self.connect(self, SIGNAL("updatesignal()"), self.update)
# This is a hack to workaround that Qt does not like changing the # This is a hack to workaround that Qt does not like changing the
# window properties from this other thread before the runloop has # window properties from this other thread before the runloop has
# been called from. # been called from.
def update_callback(self): def update_callback(self):
self.emit(SIGNAL("updatesignal")) self.emit(SIGNAL("updatesignal()"))
def update(self): def update(self):
if not self.wallet.interface: if not self.wallet.interface:

Loading…
Cancel
Save