mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-12 15:49:28 -08:00
set rx and txBytes to zero on initialization (#4569)
This commit is contained in:
@@ -194,8 +194,8 @@ void Servatrice_IslServer::incomingConnection(qintptr socketDescriptor)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Servatrice::Servatrice(QObject *parent)
|
Servatrice::Servatrice(QObject *parent)
|
||||||
: Server(parent), authenticationMethod(AuthenticationNone), uptime(0), shutdownTimer(nullptr),
|
: Server(parent), authenticationMethod(AuthenticationNone), uptime(0), txBytes(0), rxBytes(0),
|
||||||
isFirstShutdownMessage(true)
|
shutdownTimer(nullptr), isFirstShutdownMessage(true)
|
||||||
{
|
{
|
||||||
qRegisterMetaType<QSqlDatabase>("QSqlDatabase");
|
qRegisterMetaType<QSqlDatabase>("QSqlDatabase");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user