diff --git a/src/widgets/splits/SplitHeader.cpp b/src/widgets/splits/SplitHeader.cpp index 7c8571303..882f0b9eb 100644 --- a/src/widgets/splits/SplitHeader.cpp +++ b/src/widgets/splits/SplitHeader.cpp @@ -28,7 +28,7 @@ namespace chatterino { namespace { -auto formatRoomMode(TwitchChannel &channel) +auto formatRoomMode(TwitchChannel &channel) -> QString { QString text; @@ -54,6 +54,8 @@ auto formatRoomMode(TwitchChannel &channel) text = match.captured(1) + '\n' + match.captured(2); } + if (text.isEmpty() && channel.hasModRights()) return "none"; + return text; } auto formatTooltip(const TwitchChannel::StreamStatus &s) @@ -156,11 +158,8 @@ void SplitHeader::initializeLayout() }); }), // dropdown - this->dropdownButton_ = makeWidget