X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclient.cpp;h=ea1738b8f8c73b9030389de94d6c7adef5520b37;hp=a6f7b4b6835d7df1a42f091eb02a86b75c559fa4;hb=52a7b4d0f289f075aa386445a47d876743bcb6d0;hpb=fe4b38e66592f11fdf4c4651863968983daecd2d diff --git a/src/client/client.cpp b/src/client/client.cpp index a6f7b4b6..ea1738b8 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -246,7 +246,8 @@ void Client::coreNetworkCreated(NetworkId id) { } void Client::coreNetworkRemoved(NetworkId id) { - if(!_networks.contains(id)) return; + if(!_networks.contains(id)) + return; Network *net = _networks.take(id); emit networkRemoved(net->networkId()); net->deleteLater(); @@ -641,7 +642,7 @@ void Client::removeBuffer(BufferId id) { } void Client::bufferRemoved(BufferId bufferId) { - // first remove the buffer from has. this prohibits further lastSeenUpdates + // first remove the buffer from hash. this prohibits further lastSeenUpdates Buffer *buff = 0; if(_buffers.contains(bufferId)) { buff = _buffers.take(bufferId);