diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-08-01 09:47:57 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-08-01 09:21:13 +0000 |
commit | ecc37cc78eff4ad16a548b464c2b8a776fda1f9e (patch) | |
tree | 75cc5e0539b717aba79209890739c3cf01ed44f7 /sources/shiboken2/ApiExtractor | |
parent | 29c482280901cfcd526e93b2b0f34f43973def72 (diff) |
shiboken: Add template base class to the debug operator of AbstractMetaClass
Task-number: PYSIDE-725
Change-Id: I68a57bbd98d111faa42dc62b667985281517df31
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources/shiboken2/ApiExtractor')
-rw-r--r-- | sources/shiboken2/ApiExtractor/abstractmetalang.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/shiboken2/ApiExtractor/abstractmetalang.cpp b/sources/shiboken2/ApiExtractor/abstractmetalang.cpp index 2ef0a9a21..69a1390dc 100644 --- a/sources/shiboken2/ApiExtractor/abstractmetalang.cpp +++ b/sources/shiboken2/ApiExtractor/abstractmetalang.cpp @@ -2459,6 +2459,8 @@ QDebug operator<<(QDebug d, const AbstractMetaClass *ac) d << " [final]"; if (ac->m_baseClass) d << ", inherits \"" << ac->m_baseClass->name() << '"'; + if (ac->m_templateBaseClass) + d << ", inherits template \"" << ac->m_templateBaseClass->name() << '"'; const AbstractMetaEnumList &enums = ac->enums(); if (!enums.isEmpty()) d << ", enums[" << enums.size() << "]=" << enums; |