aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/abstractmetatype.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-07-19 11:45:44 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-07-20 19:20:28 +0200
commit36aa3df2adf799240070570f29946d39104f9aea (patch)
tree84db7d3c48934646522e070936d958eeef87811e /sources/shiboken6/ApiExtractor/abstractmetatype.cpp
parent6644fb7f432b224c6ecd8f8eba77ea6657f76952 (diff)
shiboken6: Shorten debug output of AbstractMetaType/OverloadData
Pick-to: 6.1 Change-Id: I45656ce217ac87f00241abe6422f4d440c4ee6f0 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/abstractmetatype.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/abstractmetatype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetatype.cpp b/sources/shiboken6/ApiExtractor/abstractmetatype.cpp
index 990d1ec07..075315d58 100644
--- a/sources/shiboken6/ApiExtractor/abstractmetatype.cpp
+++ b/sources/shiboken6/ApiExtractor/abstractmetatype.cpp
@@ -754,7 +754,7 @@ bool AbstractMetaType::isExtendedCppPrimitive() const
void AbstractMetaType::formatDebug(QDebug &debug) const
{
debug << '"' << name() << '"';
- if (debug.verbosity() > 2) {
+ if (debug.verbosity() > 2 && !isVoid()) {
auto te = typeEntry();
debug << ", typeEntry=";
if (debug.verbosity() > 3)