diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-24 15:19:36 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-24 15:41:05 -0300 |
commit | eeb50b166bc122cf5326e842528d92b4e0914ff3 (patch) | |
tree | 797549e264741ef8608f9ccdea3f262ea43eea96 /PySide/QtCore/qchar_conversions.h | |
parent | 15cfd5f5a2da879f0ac4a1f5dfd4f2fb139ac6b4 (diff) |
Custom code should use Converters instead of the "_cptr" macros.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'PySide/QtCore/qchar_conversions.h')
-rw-r--r-- | PySide/QtCore/qchar_conversions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtCore/qchar_conversions.h b/PySide/QtCore/qchar_conversions.h index 2429926d1..345befade 100644 --- a/PySide/QtCore/qchar_conversions.h +++ b/PySide/QtCore/qchar_conversions.h @@ -20,6 +20,6 @@ inline QChar Shiboken::Converter<QChar >::toCpp(PyObject* pyobj) else if (PyInt_Check(pyobj)) return QChar(Shiboken::Converter<int >::toCpp(pyobj)); } - return *SbkQChar_cptr(pyobj); + return *Converter<QChar*>::toCpp(pyobj); } } |