X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fnetworkmodelcontroller.cpp;h=94dd8d9ac4490500a77da506a943cde2c0cc7bea;hb=6acb434eb00e38f345d9d201151d295f27e786c9;hp=bb6482c04d7d9b6c16aa3188616ae88f15065b44;hpb=8e93326fd70af3c0accc599770796619ef3cee6e;p=quassel.git diff --git a/src/uisupport/networkmodelcontroller.cpp b/src/uisupport/networkmodelcontroller.cpp index bb6482c0..94dd8d9a 100644 --- a/src/uisupport/networkmodelcontroller.cpp +++ b/src/uisupport/networkmodelcontroller.cpp @@ -363,7 +363,7 @@ void NetworkModelController::handleHideAction(ActionType type, QAction *action) return; case HideApplyToAll: BufferSettings().setMessageFilter(filter); - [[clang::fallthrough]]; + // fallthrough case HideUseDefaults: if (_messageFilter) BufferSettings(_messageFilter->idString()).removeFilter(); @@ -412,8 +412,10 @@ void NetworkModelController::handleGeneralAction(ActionType type, QAction *actio break; } case ShowChannelList: - if (networkId.isValid()) - emit showChannelList(networkId, {}); + if (networkId.isValid()) { + // Don't immediately list channels, allowing customization of filter first + emit showChannelList(networkId, {}, false); + } break; case ShowNetworkConfig: if (networkId.isValid())