diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-07-02 15:07:34 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-07-02 15:28:15 +0200 |
commit | 943b455baa62a8f0f0e1344bf042e4f3bcdeceee (patch) | |
tree | 5126a68645d81b31e47e81a3e1f1d757a8305381 | |
parent | c38a132dacb8250cd957f4f2ef5f1b40f9daf26b (diff) |
Avoid even more const char * to QString conversions
Let's see if I've finally found them all.
Change-Id: I8b9678b7fef0b509ac14c0605163a18708cc2194
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | src/imports/opcua/opcuavaluenode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/opcua/opcuavaluenode.cpp b/src/imports/opcua/opcuavaluenode.cpp index 622415f..0b375de 100644 --- a/src/imports/opcua/opcuavaluenode.cpp +++ b/src/imports/opcua/opcuavaluenode.cpp @@ -138,9 +138,9 @@ void OpcUaValueNode::setupNode(const QString &absolutePath) connect(m_node, &QOpcUaNode::attributeWritten, this, [this](QOpcUa::NodeAttribute attribute, QOpcUa::UaStatusCode statusCode) { if (statusCode != QOpcUa::Good) { - QString msg = "Failed to write attribute " + QString msg = QStringLiteral("Failed to write attribute ") + enumToString(attribute) - + ": " + + QStringLiteral(": ") + enumToString(statusCode); setStatus(Status::FailedToWriteAttribute, msg); qCWarning(QT_OPCUA_PLUGINS_QML) << msg; |