diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-09-10 09:38:36 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-09-12 08:18:25 +0200 |
commit | 78c0e308194408ab9943c0ba71d28cfb483ac394 (patch) | |
tree | 554d6c1c96fd2440277b1322fd3faee78b67a8e3 /sources/shiboken2/generator | |
parent | aeacefcdccdc3a0cb5e9f405fb3af3276a987c08 (diff) |
shiboken: Introduce flags for AbstractMetaBuilder*::translateType*
This is a preparation for further extensions.
Change-Id: I5279f351f7964f17ee3ca92386c10d3b90b5d8c8
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken2/generator')
-rw-r--r-- | sources/shiboken2/generator/shiboken2/shibokengenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/generator/shiboken2/shibokengenerator.cpp b/sources/shiboken2/generator/shiboken2/shibokengenerator.cpp index 34e43a4c7..5b76f25e2 100644 --- a/sources/shiboken2/generator/shiboken2/shibokengenerator.cpp +++ b/sources/shiboken2/generator/shiboken2/shibokengenerator.cpp @@ -2306,7 +2306,7 @@ AbstractMetaType *ShibokenGenerator::buildAbstractMetaTypeFromString(QString typ auto it = m_metaTypeFromStringCache.find(typeSignature); if (it == m_metaTypeFromStringCache.end()) { AbstractMetaType *metaType = - AbstractMetaBuilder::translateType(typeSignature, nullptr, true, errorMessage); + AbstractMetaBuilder::translateType(typeSignature, nullptr, {}, errorMessage); if (Q_UNLIKELY(!metaType)) { if (errorMessage) errorMessage->prepend(msgCannotBuildMetaType(typeSignature)); |