summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Keller <Rainer.Keller@qt.io>2018-04-13 15:34:37 +0200
committerFrank Meerkoetter <frank.meerkoetter@basyskom.com>2018-04-16 07:00:29 +0000
commit4c937a56e14f56fb3424f63ad43a5edf2cf9c7f8 (patch)
tree536e655800c7e5fbcb05ff8b5ab4b18eeb048780
parentef0d2cd86b4f2d11db267b9ae77f89be1c798daa (diff)
doc: Fix API usage
QOpcUaProvider does not have an isEmpty() member function. Change-Id: I27a5d66cca4bc0d3b5a42f72cd6733052d54a6f5 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com>
-rw-r--r--src/opcua/client/qopcuaclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opcua/client/qopcuaclient.cpp b/src/opcua/client/qopcuaclient.cpp
index c6a2f9f..86056e1 100644
--- a/src/opcua/client/qopcuaclient.cpp
+++ b/src/opcua/client/qopcuaclient.cpp
@@ -64,7 +64,7 @@ Q_DECLARE_LOGGING_CATEGORY(QT_OPCUA)
After the connection is established, a \l QOpcUaNode object for the root node is requested.
\code
QOpcUaProvider provider;
- if (provider.isEmpty())
+ if (provider.availableBackends().isEmpty())
return;
QOpcUaClient *client = provider.createClient(provider.availableBackends()[0]);
if (!client)