X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclientirclisthelper.cpp;h=1e842e369c8089878f7c0d8761c8014181206c7d;hb=98144aaad0cd747f186edcd0e36a1d67326ac766;hp=229e1576109d592ea67a51dc8cde5be8a351571b;hpb=e50ae7a06fc4e5d3a911c361d30953410deab609;p=quassel.git diff --git a/src/client/clientirclisthelper.cpp b/src/client/clientirclisthelper.cpp index 229e1576..1e842e36 100644 --- a/src/client/clientirclisthelper.cpp +++ b/src/client/clientirclisthelper.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -25,7 +25,6 @@ #include "client.h" #include "irclistmodel.h" -INIT_SYNCABLE_OBJECT(ClientIrcListHelper) QVariantList ClientIrcListHelper::requestChannelList(const NetworkId &netId, const QStringList &channelFilters) { _netId = netId; @@ -43,7 +42,7 @@ void ClientIrcListHelper::receiveChannelList(const NetworkId &netId, const QStri QVariantList channelVar = iter->toList(); ChannelDescription channelDescription(channelVar[0].toString(), channelVar[1].toUInt(), channelVar[2].toString()); channelList << channelDescription; - iter++; + ++iter; } emit channelListReceived(netId, channelFilters, channelList);