diff options
Diffstat (limited to 'sources/shiboken2/ApiExtractor/abstractmetalang.cpp')
-rw-r--r-- | sources/shiboken2/ApiExtractor/abstractmetalang.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sources/shiboken2/ApiExtractor/abstractmetalang.cpp b/sources/shiboken2/ApiExtractor/abstractmetalang.cpp index 9d770284a..592f69c4c 100644 --- a/sources/shiboken2/ApiExtractor/abstractmetalang.cpp +++ b/sources/shiboken2/ApiExtractor/abstractmetalang.cpp @@ -2786,14 +2786,16 @@ bool QPropertySpec::isValid() const #ifndef QT_NO_DEBUG_STREAM void QPropertySpec::formatDebug(QDebug &d) const { - d << '#' << m_index << " \"" << m_name << "\" (" << m_type->qualifiedCppName() - << "), read=" << m_read; + d << '#' << m_index << " \"" << m_name << "\" (" << m_type->qualifiedCppName(); + for (int i = 0; i < m_indirections; ++i) + d << '*'; + d << "), read=" << m_read; if (!m_write.isEmpty()) d << ", write=" << m_write; if (!m_reset.isEmpty()) d << ", reset=" << m_reset; if (!m_designable.isEmpty()) - d << ", esignable=" << m_designable; + d << ", designable=" << m_designable; } QDebug operator<<(QDebug d, const QPropertySpec &p) |