X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fircuser.cpp;h=cf1aedaafe90b98dbb7332ed5ea78098e563b7ff;hb=e2188dc438be6f3eb0d9cdf47d28821aefe9835e;hp=168370063e3dd812415f2afc598c0ad5b7ecd17e;hpb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;p=quassel.git diff --git a/src/common/ircuser.cpp b/src/common/ircuser.cpp index 16837006..cf1aedaa 100644 --- a/src/common/ircuser.cpp +++ b/src/common/ircuser.cpp @@ -52,11 +52,6 @@ IrcUser::IrcUser(const QString &hostmask, Network *network) : SyncableObject(net } -IrcUser::~IrcUser() -{ -} - - // ==================== // PUBLIC: // ==================== @@ -367,7 +362,7 @@ void IrcUser::quit() void IrcUser::channelDestroyed() { // private slot! - IrcChannel *channel = static_cast(sender()); + auto *channel = static_cast(sender()); if (_channels.contains(channel)) { _channels.remove(channel); if (_channels.isEmpty() && !network()->isMe(this))