Small fix on qpushbutton.clicked emission
This commit is contained in:
parent
fad2f7e53d
commit
262c32e87b
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class ButtonPySlot(UsesQApplication, BasicPySlotCase):
|
||||||
button = QPushButton('Mylabel')
|
button = QPushButton('Mylabel')
|
||||||
QObject.connect(button, SIGNAL('clicked()'), self.cb)
|
QObject.connect(button, SIGNAL('clicked()'), self.cb)
|
||||||
self.args = tuple()
|
self.args = tuple()
|
||||||
button.emit(SIGNAL('clicked()'))
|
button.emit(SIGNAL('clicked(bool)'), False)
|
||||||
self.assert_(self.called)
|
self.assert_(self.called)
|
||||||
|
|
||||||
def testButtonClick(self):
|
def testButtonClick(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue