summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickaël <mickael9+junk@gmail.com>2010-11-16 15:06:43 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-16 15:08:56 -0200
commit5a8efeb9df4271b0e1ec47bf231d2f23141d2375 (patch)
tree8616666554c31f4431ecfe934c1cad921307abc6
parentbd3efd2a0f39c7f0ec7be88672e30c332ac1d1fe (diff)
downloadpyside-5a8efeb9df4271b0e1ec47bf231d2f23141d2375.tar.gz
pyside-5a8efeb9df4271b0e1ec47bf231d2f23141d2375.tar.xz
pyside-5a8efeb9df4271b0e1ec47bf231d2f23141d2375.zip
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>
-rw-r--r--PySide/QtCore/typesystem_core.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index b5243c6..b048bf0 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -1944,7 +1944,7 @@
// invalidate to avoid use of python object
Shiboken::BindingManager::instance().destroyWrapper((SbkObject*)pyTimer);
timer->setSingleShot(true);
- timer->connect(timer, SIGNAL("timeout()"), timer, SLOT("deleteLater()"));
+ timer->connect(timer, SIGNAL(timeout()), timer, SLOT(deleteLater()));
timer->start(%1);
</inject-code>
</modify-function>