diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2016-05-08 11:51:58 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2016-05-08 11:51:58 +0200 |
| commit | cc7d194e14531bd9bed3dc2f79a810e918837f65 (patch) | |
| tree | 4231cfb186eb31516b9201603ea63390efb51bbd /src/ClientInfo.hpp | |
| parent | 49c5035cd3fd06a63bcf9510a1d2fa64334ec5fa (diff) | |
| download | manager-cc7d194e14531bd9bed3dc2f79a810e918837f65.tar.gz manager-cc7d194e14531bd9bed3dc2f79a810e918837f65.zip | |
Fix some warnings
Diffstat (limited to 'src/ClientInfo.hpp')
| -rw-r--r-- | src/ClientInfo.hpp | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/ClientInfo.hpp b/src/ClientInfo.hpp index cdd8ff4..4a4ef0b 100644 --- a/src/ClientInfo.hpp +++ b/src/ClientInfo.hpp @@ -21,19 +21,23 @@ class ClientInfo { public: - ClientInterface interface = Clonk; + QString nick = ""; - bool dcc = false; - int CUID = 0; + QList<QDateTime> antiFloodList; + QString target = ""; + + ManagementConnection management; QString pcName = ""; + + ClientInterface interface = Clonk; + int CUID = 0; bool activated = false; - QList<QDateTime> antiFloodList; + bool dcc = false; + - QString target = ""; - ManagementConnection management; static inline ClientInfo ircClient(QString nick, QString target = "") @@ -151,7 +155,7 @@ public: { if(parts.length() != 5) throw ConfigException("Cannot read corrupt ClientInfo with Clonk-ClientInterface: " + string.toStdString()); info.pcName = parts.at(1); - info.CUID = parts.at(2).toUInt(); + info.CUID = parts.at(2).toInt(); info.nick = parts.at(3); info.activated = ConfigValueBase::getValue<bool>(parts.at(4)); break; |
