X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientuserinputhandler.cpp;h=6baf95246cf69f8e9461cd8818597d109ff9adf5;hp=bddd5c7c947b8e7821cd543bcc961bf9cebfd531;hb=c27d5bfbe80bfeb583a25404f4ccee4b70b010e0;hpb=9f5158eab420977b42d8fc6b98d2eb0de66cbaa4 diff --git a/src/client/clientuserinputhandler.cpp b/src/client/clientuserinputhandler.cpp index bddd5c7c..6baf9524 100644 --- a/src/client/clientuserinputhandler.cpp +++ b/src/client/clientuserinputhandler.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 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 * @@ -121,7 +121,7 @@ void ClientUserInputHandler::handleQuery(const BufferInfo &bufferInfo, const QSt void ClientUserInputHandler::handleIgnore(const BufferInfo &bufferInfo, const QString &text) { if (text.isEmpty()) { - emit Client::instance()->showIgnoreList(""); + emit Client::instance()->displayIgnoreList(""); return; } // If rule contains no ! or @, we assume it is just a nickname, and turn it into an ignore rule for that nick @@ -140,6 +140,12 @@ void ClientUserInputHandler::handleIgnore(const BufferInfo &bufferInfo, const QS ); } +void ClientUserInputHandler::handleList(const BufferInfo &bufferInfo, const QString &text) +{ + // Pass along any potential search parameters, list channels immediately + Client::instance()->displayChannelList(bufferInfo.networkId(), text, true); +} + void ClientUserInputHandler::switchBuffer(const NetworkId &networkId, const QString &bufferName) {