aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore/qstring_conversions.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-11-30 18:13:12 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-11-30 18:13:12 -0200
commit0b0ff22e6b5eff3f1b4faaf4efac5395d2454d12 (patch)
tree9467900d648b258f12b24f5438c8c2ec9b4dff5d /PySide/QtCore/qstring_conversions.h
parent51e7af60fa2014d9ef76d385859ca6e120b0f340 (diff)
Fix QString converter to compile with the new libshiboken api.
Diffstat (limited to 'PySide/QtCore/qstring_conversions.h')
-rw-r--r--PySide/QtCore/qstring_conversions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtCore/qstring_conversions.h b/PySide/QtCore/qstring_conversions.h
index e67bed1de..4d16636eb 100644
--- a/PySide/QtCore/qstring_conversions.h
+++ b/PySide/QtCore/qstring_conversions.h
@@ -9,7 +9,7 @@ inline bool Converter< QString >::isConvertible(PyObject* pyobj)
inline PyObject* Converter< QString >::createWrapper(const QString* cppobj)
{
- return PyBaseWrapper_New(&PyQString_Type, &PyQString_Type, cppobj);
+ return PyBaseWrapper_New((PyTypeObject*)&PyQString_Type, &PyQString_Type, cppobj);
}
inline QString* Converter<QString >::copyCppObject(const QString& cppobj)