diff options
author | Michael Brasser <mbrasser@ford.com> | 2018-04-24 13:10:12 -0500 |
---|---|---|
committer | Michael Brasser <michael.brasser@live.com> | 2018-04-25 02:06:30 +0000 |
commit | b47f3b6386c7d984e11ca7b552e5aeab16c61225 (patch) | |
tree | 5aeec0417b7949392f5dd9bcefcd487c8eeca76d /examples | |
parent | 1135417853d83545a85dc2d283df388205a3609a (diff) |
Fix errors reported by Coverity
Change-Id: Ic1e01d4414dcfa06dec56e9008132762e6a7f37b
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
Diffstat (limited to 'examples')
4 files changed, 4 insertions, 4 deletions
diff --git a/examples/remoteobjects/server/timemodel.cpp b/examples/remoteobjects/server/timemodel.cpp index e4caecc..a444f6e 100644 --- a/examples/remoteobjects/server/timemodel.cpp +++ b/examples/remoteobjects/server/timemodel.cpp @@ -50,7 +50,7 @@ #include "timemodel.h" -MinuteTimer::MinuteTimer(QObject *parent) : MinuteTimerSimpleSource(parent) +MinuteTimer::MinuteTimer(QObject *parent) : MinuteTimerSimpleSource(parent), zone(0) { time = QTime::currentTime(); setHour(time.hour()); diff --git a/examples/remoteobjects/simpleswitch/directconnectclient/client.cpp b/examples/remoteobjects/simpleswitch/directconnectclient/client.cpp index c808f27..81cbf0e 100644 --- a/examples/remoteobjects/simpleswitch/directconnectclient/client.cpp +++ b/examples/remoteobjects/simpleswitch/directconnectclient/client.cpp @@ -52,7 +52,7 @@ // constructor Client::Client(QSharedPointer<SimpleSwitchReplica> ptr) : - QObject(nullptr), reptr(ptr) + QObject(nullptr), clientSwitchState(false), reptr(ptr) { //connect signal for replica initialized with initialization slot initConnections(); diff --git a/examples/remoteobjects/simpleswitch/directconnectdynamicclient/dynamicclient.cpp b/examples/remoteobjects/simpleswitch/directconnectdynamicclient/dynamicclient.cpp index d7a6b73..11f64ab 100644 --- a/examples/remoteobjects/simpleswitch/directconnectdynamicclient/dynamicclient.cpp +++ b/examples/remoteobjects/simpleswitch/directconnectdynamicclient/dynamicclient.cpp @@ -53,7 +53,7 @@ // constructor DynamicClient::DynamicClient(QSharedPointer<QRemoteObjectDynamicReplica> ptr) : - QObject(nullptr), reptr(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())); diff --git a/examples/remoteobjects/simpleswitch/registryconnectedclient/dynamicclient.cpp b/examples/remoteobjects/simpleswitch/registryconnectedclient/dynamicclient.cpp index d7a6b73..11f64ab 100644 --- a/examples/remoteobjects/simpleswitch/registryconnectedclient/dynamicclient.cpp +++ b/examples/remoteobjects/simpleswitch/registryconnectedclient/dynamicclient.cpp @@ -53,7 +53,7 @@ // constructor DynamicClient::DynamicClient(QSharedPointer<QRemoteObjectDynamicReplica> ptr) : - QObject(nullptr), reptr(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())); |