X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreirclisthelper.cpp;h=312ed3deb6a745689c6f1590085aa06ed81bc652;hp=dbcdcc4c07090922cc2127ba9e75ee5c38b7a2d1;hb=a5dfcc8ecf8b81025d24b3c5c816169e3e030ea4;hpb=f7379184b7c0ae4e53d7470809f84e2ad3239ec1 diff --git a/src/core/coreirclisthelper.cpp b/src/core/coreirclisthelper.cpp index dbcdcc4c..312ed3de 100644 --- a/src/core/coreirclisthelper.cpp +++ b/src/core/coreirclisthelper.cpp @@ -20,7 +20,7 @@ #include "coreirclisthelper.h" -#include "networkconnection.h" +#include "corenetwork.h" #include "userinputhandler.h" QVariantList CoreIrcListHelper::requestChannelList(const NetworkId &netId, const QStringList &channelFilters) { @@ -44,10 +44,10 @@ bool CoreIrcListHelper::addChannel(const NetworkId &netId, const QString &channe } bool CoreIrcListHelper::dispatchQuery(const NetworkId &netId, const QString &query) { - NetworkConnection *networkConnection = coreSession()->networkConnection(netId); - if(networkConnection) { + CoreNetwork *network = coreSession()->network(netId); + if(network) { _channelLists[netId] = QList(); - networkConnection->userInputHandler()->handleList(BufferInfo(), query); + network->userInputHandler()->handleList(BufferInfo(), query); _queryTimeout[startTimer(10000)] = netId; return true; } else {