Fixed signal signature on singleshot inject code.
Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
This commit is contained in:
parent
e864bdf57e
commit
9025d5487c
1 changed files with 1 additions and 1 deletions
|
|
@ -2222,7 +2222,7 @@
|
||||||
SbkQTimer_Type.super.ht_type.tp_init(pyTimer, emptyTuple, 0);
|
SbkQTimer_Type.super.ht_type.tp_init(pyTimer, emptyTuple, 0);
|
||||||
|
|
||||||
QTimer* timer = SbkQTimer_cptr(pyTimer);
|
QTimer* timer = SbkQTimer_cptr(pyTimer);
|
||||||
PyObject* result = PyObject_CallMethod(pyTimer, "connect", "OsOs", pyTimer, SIGNAL("timeout()"), %PYARG_2, %3);
|
PyObject* result = PyObject_CallMethod(pyTimer, "connect", "OsOs", pyTimer, SIGNAL(timeout()), %PYARG_2, %3);
|
||||||
Py_DECREF(result);
|
Py_DECREF(result);
|
||||||
timer->setSingleShot(true);
|
timer->setSingleShot(true);
|
||||||
timer->connect(timer, SIGNAL("timeout()"), timer, SLOT("deleteLater()"));
|
timer->connect(timer, SIGNAL("timeout()"), timer, SLOT("deleteLater()"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue