X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fircuser.cpp;h=95892c49b2c258bc032ad64b19b263a0b6999670;hp=5bd4c8b431f0c0b8901b8fce771fa542aaf62719;hb=4ae8f86c1ce452582d6fe576956c7c1bc1460adf;hpb=f6b9eeda207d42c99fc3e9085631722cf2ec83dc diff --git a/src/common/ircuser.cpp b/src/common/ircuser.cpp index 5bd4c8b4..95892c49 100644 --- a/src/common/ircuser.cpp +++ b/src/common/ircuser.cpp @@ -47,6 +47,7 @@ IrcUser::IrcUser(const QString &hostmask, Network *network) : SyncableObject(net _codecForDecoding(0) { updateObjectName(); + } IrcUser::~IrcUser() { @@ -124,8 +125,8 @@ void IrcUser::setRealName(const QString &realName) { void IrcUser::setAway(const bool &away) { if(away != _away) { _away = away; - emit awaySet(away); SYNC(ARG(away)) + emit awaySet(away); } } @@ -183,8 +184,8 @@ void IrcUser::setNick(const QString &nick) { if(!nick.isEmpty() && nick != _nick) { _nick = nick; updateObjectName(); - emit nickSet(nick); SYNC(ARG(nick)) + emit nickSet(nick); } } @@ -257,6 +258,7 @@ void IrcUser::quit() { channel->part(this); } network()->removeIrcUser(this); + SYNC(NO_ARG) emit quited(); }