diff options
Diffstat (limited to 'sources/pyside6/libpysideqml/pysideqmlnamedelement.cpp')
| -rw-r--r-- | sources/pyside6/libpysideqml/pysideqmlnamedelement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/libpysideqml/pysideqmlnamedelement.cpp b/sources/pyside6/libpysideqml/pysideqmlnamedelement.cpp index f29638017..8d2c558cf 100644 --- a/sources/pyside6/libpysideqml/pysideqmlnamedelement.cpp +++ b/sources/pyside6/libpysideqml/pysideqmlnamedelement.cpp @@ -31,7 +31,7 @@ PyObject *PySideQmlNamedElementPrivate::tp_call(PyObject *self, PyObject *args, return nullptr; auto *data = DecoratorPrivate::get<PySideQmlNamedElementPrivate>(self); - auto *result = PySide::Qml::qmlNamedElementMacro(klass, data->string().c_str()); + auto *result = PySide::Qml::qmlNamedElementMacro(klass, data->string()); Py_XINCREF(result); return result; } |
