aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtGui/qpixmap_conversion.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-02-24 15:19:36 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-02-24 15:41:05 -0300
commiteeb50b166bc122cf5326e842528d92b4e0914ff3 (patch)
tree797549e264741ef8608f9ccdea3f262ea43eea96 /PySide/QtGui/qpixmap_conversion.h
parent15cfd5f5a2da879f0ac4a1f5dfd4f2fb139ac6b4 (diff)
Custom code should use Converters instead of the "_cptr" macros.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'PySide/QtGui/qpixmap_conversion.h')
-rw-r--r--PySide/QtGui/qpixmap_conversion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtGui/qpixmap_conversion.h b/PySide/QtGui/qpixmap_conversion.h
index 411592dd..cad242b9 100644
--- a/PySide/QtGui/qpixmap_conversion.h
+++ b/PySide/QtGui/qpixmap_conversion.h
@@ -24,6 +24,6 @@ inline QPixmap Converter< QPixmap >::toCpp(PyObject* pyobj)
return QPixmap(Shiboken::Converter<QString& >::toCpp(pyobj));
}
- return *SbkQPixmap_cptr(pyobj);
+ return *Converter<QPixmap*>::toCpp(pyobj);
}
}