@@ -124,9 +124,6 public: | |||
|
124 | 124 | |
|
125 | 125 | static PyObject* QVariantMapToPyObject(const QVariantMap& m); |
|
126 | 126 | static PyObject* QVariantListToPyObject(const QVariantList& l); |
|
127 | ||
|
128 | //! get human readable string from qvariant | |
|
129 | static QString qVariantToString(const QVariant& v); | |
|
130 | 127 | |
|
131 | 128 | //! get human readable string from CPP object (when the metatype is known) |
|
132 | 129 | static QString CPPObjectToString(int type, const void* data); |
@@ -503,7 +503,7 static int PythonQtInstanceWrapper_compare(PyObject * obj1, PyObject * obj2) | |||
|
503 | 503 | if (w1->_obj && w2->_obj) { |
|
504 | 504 | void* args[2]; |
|
505 | 505 | args[0] = &result; |
|
506 |
args[ |
|
|
506 | args[1] = obj2; // this is a reference, so it needs the direct pointer | |
|
507 | 507 | w1->_obj->qt_metacall(QMetaObject::InvokeMetaMethod, info._slot->slotIndex(), args); |
|
508 | 508 | } |
|
509 | 509 | } |
General Comments 0
You need to be logged in to leave comments.
Login now