diff options
Diffstat (limited to 'src/interfaceframework/qifabstractfeature.cpp')
| -rw-r--r-- | src/interfaceframework/qifabstractfeature.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interfaceframework/qifabstractfeature.cpp b/src/interfaceframework/qifabstractfeature.cpp index 19ac815c..5e16273a 100644 --- a/src/interfaceframework/qifabstractfeature.cpp +++ b/src/interfaceframework/qifabstractfeature.cpp @@ -16,6 +16,8 @@ #include <QDebug> #include <QMetaEnum> +using namespace Qt::StringLiterals; + QT_BEGIN_NAMESPACE QIfAbstractFeaturePrivate::QIfAbstractFeaturePrivate(const QString &interfaceName, QIfAbstractFeature *parent) @@ -534,7 +536,7 @@ void QIfAbstractFeature::setError(QIfAbstractFeature::Error error, const QString { Q_D(QIfAbstractFeature); d->m_error = error; - d->m_errorMessage = errorText() + QStringLiteral(" ") + message; + d->m_errorMessage = errorText() + u" "_s + message; if (d->m_error == QIfAbstractFeature::NoError) d->m_errorMessage.clear(); emit errorChanged(d->m_error, d->m_errorMessage); |
