aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-08-01 09:47:57 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-08-01 09:21:13 +0000
commitecc37cc78eff4ad16a548b464c2b8a776fda1f9e (patch)
tree75cc5e0539b717aba79209890739c3cf01ed44f7 /sources/shiboken2/ApiExtractor
parent29c482280901cfcd526e93b2b0f34f43973def72 (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.cpp2
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;