diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-07-11 22:39:50 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-07-13 18:10:34 +0000 |
commit | f2ac9b0bbd41c0b3fb3fff28f84ebab985cda574 (patch) | |
tree | 88e115c0226d3e82b129dce80d2479eb0c96c167 | |
parent | 1b3a01317622382769a0f38be9a2c01c53b1bd3c (diff) |
shiboken6: Fix option --no-implicit-conversions
Amends 78d929b957bfe200806602e1e1dfedd7e044cb20.
Task-number: PYSIDE-1669
Fixes: PYSIDE-2392
Change-Id: Ic3f5f8e826d80ad615ab374c8830e2efc7817a7b
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
(cherry picked from commit b08cb33e0a46a490821a011a7433cb846da2acad)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | sources/shiboken6/generator/shiboken/shibokengenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/generator/shiboken/shibokengenerator.cpp b/sources/shiboken6/generator/shiboken/shibokengenerator.cpp index fde07ef80..df67b8083 100644 --- a/sources/shiboken6/generator/shiboken/shibokengenerator.cpp +++ b/sources/shiboken6/generator/shiboken/shibokengenerator.cpp @@ -2150,7 +2150,7 @@ bool ShibokenGenerator::handleOption(const QString &key, const QString &value) if (key == QLatin1StringView(USE_OPERATOR_BOOL_AS_NB_NONZERO)) return (m_useOperatorBoolAsNbNonZero = true); if (key == QLatin1StringView(NO_IMPLICIT_CONVERSIONS)) { - return m_generateImplicitConversions = false; + m_generateImplicitConversions = false; return true; } if (key == QLatin1StringView(WRAPPER_DIAGNOSTICS)) |