X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fnetworkmodelcontroller.cpp;h=94dd8d9ac4490500a77da506a943cde2c0cc7bea;hb=4e452ee828fdb411e6b1db07c18e02681a30ff27;hp=6a96ba6ddae5276e00969d03733673c027f1761b;hpb=b7447afe8e836376776dac26704e227a678d2913;p=quassel.git diff --git a/src/uisupport/networkmodelcontroller.cpp b/src/uisupport/networkmodelcontroller.cpp index 6a96ba6d..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())