set rx and txBytes to zero on initialization (#4569)
This commit is contained in:
parent
bf08a04cda
commit
252883f67e
1 changed files with 2 additions and 2 deletions
|
@ -194,8 +194,8 @@ void Servatrice_IslServer::incomingConnection(qintptr socketDescriptor)
|
|||
}
|
||||
|
||||
Servatrice::Servatrice(QObject *parent)
|
||||
: Server(parent), authenticationMethod(AuthenticationNone), uptime(0), shutdownTimer(nullptr),
|
||||
isFirstShutdownMessage(true)
|
||||
: Server(parent), authenticationMethod(AuthenticationNone), uptime(0), txBytes(0), rxBytes(0),
|
||||
shutdownTimer(nullptr), isFirstShutdownMessage(true)
|
||||
{
|
||||
qRegisterMetaType<QSqlDatabase>("QSqlDatabase");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue