diff options
-rw-r--r-- | PySide/QtCore/typesystem_core.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml index 5ebb27112..37c8d7ad3 100644 --- a/PySide/QtCore/typesystem_core.xml +++ b/PySide/QtCore/typesystem_core.xml @@ -1686,6 +1686,7 @@ <modify-function signature="singleShot(int,QObject*,const char*)"> <inject-code class="target" position="beginning"> // %FUNCTION_NAME() - disable generation of c++ function call + (void) %2; // remove warning about unused variable Shiboken::AutoDecRef emptyTuple(PyTuple_New(0)); PyObject* pyTimer = Shiboken::SbkType<QTimer>()->tp_new(Shiboken::SbkType<QTimer>(), emptyTuple, 0); Shiboken::SbkType<QTimer>()->tp_init(pyTimer, emptyTuple, 0); |