summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJannis Voelker <jannis.voelker@basyskom.com>2021-04-06 09:52:55 +0200
committerJannis Voelker <jannis.voelker@basyskom.com>2021-04-08 08:19:49 +0200
commit1255b3cc439d8e9106fc88bd226ff560de9a5244 (patch)
tree111c1f0a47b50615627998865d648f6db2e374a1 /src
parent9804b1024e8384e03618f7c4d063f6599f2eae9c (diff)
Fix declarative node id
Emitting nodeIdChanged with a const parameter leads to the nodeId property being frozen in QML. Fixes: QTBUG-91520 Change-Id: I70152b1e9a60d977f17c69af8b75ede4237b833e Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/imports/opcua/opcuanode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/opcua/opcuanode.h b/src/imports/opcua/opcuanode.h
index 611c8fc..4f03109 100644
--- a/src/imports/opcua/opcuanode.h
+++ b/src/imports/opcua/opcuanode.h
@@ -124,7 +124,7 @@ public slots:
void setConnection(OpcUaConnection *);
signals:
- void nodeIdChanged(const OpcUaNodeIdType *nodeId);
+ void nodeIdChanged(OpcUaNodeIdType *nodeId);
void connectionChanged(OpcUaConnection *);
void nodeChanged();
void readyToUseChanged();