aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore/qmap_conversions.h
diff options
context:
space:
mode:
Diffstat (limited to 'PySide/QtCore/qmap_conversions.h')
-rw-r--r--PySide/QtCore/qmap_conversions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/QtCore/qmap_conversions.h b/PySide/QtCore/qmap_conversions.h
index a3067f679..3977c81a9 100644
--- a/PySide/QtCore/qmap_conversions.h
+++ b/PySide/QtCore/qmap_conversions.h
@@ -1,8 +1,8 @@
template <typename qmap>
struct Converter_qmap
{
- static bool isConvertible(const PyObject* pyObj) {
- return PyDict_Check(const_cast<PyObject*>(pyObj));
+ static bool isConvertible(PyObject* pyObj) {
+ return PyDict_Check(pyObj);
}
static PyObject* toPython(qmap map)