X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=gui%2Fbuffer.cpp;h=cf764c1b574efe373b15a38862376784ae67f82a;hb=9d4be7eefb855df7efe6d140bc498cc574140466;hp=9c9726e1bf0f7e3badd24d4a0bef73778fff12af;hpb=7a0c26e22498cabadd791be32614ba65f69125c3;p=quassel.git diff --git a/gui/buffer.cpp b/gui/buffer.cpp index 9c9726e1..cf764c1b 100644 --- a/gui/buffer.cpp +++ b/gui/buffer.cpp @@ -67,6 +67,13 @@ void Buffer::init() { } +QString Buffer::displayName() { + if(bufferType() == ServerBuffer) + return tr("status"); + else + return bufferName(); +} + void Buffer::setActive(bool a) { if(a != active) { active = a;