Fix bug#470 - "Object::connect: No such signal QTimer::"timeout()" when using QTimer::singleShot"
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
This commit is contained in:
parent
bd3efd2a0f
commit
5a8efeb9df
1 changed files with 1 additions and 1 deletions
|
|
@ -1944,7 +1944,7 @@
|
||||||
// invalidate to avoid use of python object
|
// invalidate to avoid use of python object
|
||||||
Shiboken::BindingManager::instance().destroyWrapper((SbkObject*)pyTimer);
|
Shiboken::BindingManager::instance().destroyWrapper((SbkObject*)pyTimer);
|
||||||
timer->setSingleShot(true);
|
timer->setSingleShot(true);
|
||||||
timer->connect(timer, SIGNAL("timeout()"), timer, SLOT("deleteLater()"));
|
timer->connect(timer, SIGNAL(timeout()), timer, SLOT(deleteLater()));
|
||||||
timer->start(%1);
|
timer->start(%1);
|
||||||
</inject-code>
|
</inject-code>
|
||||||
</modify-function>
|
</modify-function>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue