mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Initialize member variables
This commit is contained in:
@@ -51,17 +51,17 @@ namespace Log
|
||||
|
||||
struct Msg
|
||||
{
|
||||
int id;
|
||||
MsgType type;
|
||||
qint64 timestamp;
|
||||
int id = -1;
|
||||
MsgType type = ALL;
|
||||
qint64 timestamp = -1;
|
||||
QString message;
|
||||
};
|
||||
|
||||
struct Peer
|
||||
{
|
||||
int id;
|
||||
bool blocked;
|
||||
qint64 timestamp;
|
||||
int id = -1;
|
||||
bool blocked = false;
|
||||
qint64 timestamp = -1;
|
||||
QString ip;
|
||||
QString reason;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user