diff options
Diffstat (limited to 'src/dbus/qdbusutil.cpp')
-rw-r--r-- | src/dbus/qdbusutil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus/qdbusutil.cpp b/src/dbus/qdbusutil.cpp index c3fe7a4e79..64823cc682 100644 --- a/src/dbus/qdbusutil.cpp +++ b/src/dbus/qdbusutil.cpp @@ -145,7 +145,7 @@ static bool variantToString(const QVariant &arg, QString &out) && vUserType != QMetaType::fromType<QDBusSignature>() && vUserType != QMetaType::fromType<QDBusObjectPath>() && vUserType != QMetaType::fromType<QDBusArgument>()) - out += u'(' + QLatin1String(v.typeName()) + u')'; + out += u'(' + QLatin1StringView(v.typeName()) + u')'; out += ": "_L1; if (!variantToString(v, out)) return false; @@ -154,7 +154,7 @@ static bool variantToString(const QVariant &arg, QString &out) out += u'\"' + arg.toString() + u'\"'; } else { out += u'['; - out += QLatin1String(arg.typeName()); + out += QLatin1StringView(arg.typeName()); out += u']'; } |