summaryrefslogtreecommitdiffstats
path: root/examples/remoteobjects/simpleswitch/registryconnectedclient/dynamicclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/remoteobjects/simpleswitch/registryconnectedclient/dynamicclient.cpp')
-rw-r--r--examples/remoteobjects/simpleswitch/registryconnectedclient/dynamicclient.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/remoteobjects/simpleswitch/registryconnectedclient/dynamicclient.cpp b/examples/remoteobjects/simpleswitch/registryconnectedclient/dynamicclient.cpp
index 11f64ab..88a3fd8 100644
--- a/examples/remoteobjects/simpleswitch/registryconnectedclient/dynamicclient.cpp
+++ b/examples/remoteobjects/simpleswitch/registryconnectedclient/dynamicclient.cpp
@@ -56,7 +56,8 @@ DynamicClient::DynamicClient(QSharedPointer<QRemoteObjectDynamicReplica> ptr) :
QObject(nullptr), clientSwitchState(false), reptr(ptr)
{
//connect signal for replica valid changed with signal slot initialization
- QObject::connect(reptr.data(), SIGNAL(initialized()), this, SLOT(initConnection_slot()));
+ QObject::connect(reptr.data(), &QRemoteObjectDynamicReplica::initialized, this,
+ &DynamicClient::initConnection_slot);
}
//destructor