diff options
Diffstat (limited to 'sources/shiboken2/ApiExtractor/abstractmetalang.cpp')
-rw-r--r-- | sources/shiboken2/ApiExtractor/abstractmetalang.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sources/shiboken2/ApiExtractor/abstractmetalang.cpp b/sources/shiboken2/ApiExtractor/abstractmetalang.cpp index 723a13164..bf16b85ac 100644 --- a/sources/shiboken2/ApiExtractor/abstractmetalang.cpp +++ b/sources/shiboken2/ApiExtractor/abstractmetalang.cpp @@ -1862,10 +1862,7 @@ QDebug operator<<(QDebug d, const AbstractMetaField *af) static void formatMetaEnumValue(QDebug &d, const AbstractMetaEnumValue *v) { - const QString &name = v->stringValue(); - if (!name.isEmpty()) - d << name << '='; - d << v->value(); + d << v->name() << '=' << v->value(); } QDebug operator<<(QDebug d, const AbstractMetaEnumValue *v) |