projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
client: Fix backlog requests with 0 initial fetch
[quassel.git]
/
src
/
client
/
clientirclisthelper.cpp
diff --git
a/src/client/clientirclisthelper.cpp
b/src/client/clientirclisthelper.cpp
index
1af7bc5
..
172c382
100644
(file)
--- a/
src/client/clientirclisthelper.cpp
+++ b/
src/client/clientirclisthelper.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-20
15
by the Quassel Project *
+ * Copyright (C) 2005-20
20
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-25,15
+25,13
@@
#include "client.h"
#include "irclistmodel.h"
#include "client.h"
#include "irclistmodel.h"
-INIT_SYNCABLE_OBJECT(ClientIrcListHelper)
-QVariantList ClientIrcListHelper::requestChannelList(const NetworkId &netId, const QStringList &channelFilters)
+QVariantList ClientIrcListHelper::requestChannelList(const NetworkId& netId, const QStringList& channelFilters)
{
_netId = netId;
return IrcListHelper::requestChannelList(netId, channelFilters);
}
{
_netId = netId;
return IrcListHelper::requestChannelList(netId, channelFilters);
}
-
-void ClientIrcListHelper::receiveChannelList(const NetworkId &netId, const QStringList &channelFilters, const QVariantList &channels)
+void ClientIrcListHelper::receiveChannelList(const NetworkId& netId, const QStringList& channelFilters, const QVariantList& channels)
{
QVariantList::const_iterator iter = channels.constBegin();
QVariantList::const_iterator iterEnd = channels.constEnd();
{
QVariantList::const_iterator iter = channels.constBegin();
QVariantList::const_iterator iterEnd = channels.constEnd();
@@
-49,8
+47,7
@@
void ClientIrcListHelper::receiveChannelList(const NetworkId &netId, const QStri
emit channelListReceived(netId, channelFilters, channelList);
}
emit channelListReceived(netId, channelFilters, channelList);
}
-
-void ClientIrcListHelper::reportFinishedList(const NetworkId &netId)
+void ClientIrcListHelper::reportFinishedList(const NetworkId& netId)
{
if (_netId == netId) {
requestChannelList(netId, QStringList());
{
if (_netId == netId) {
requestChannelList(netId, QStringList());