X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fqtuistyle.cpp;h=60d858ae36698979303b5baec1a413367b135bec;hb=9f5f7f67cd4ccca7e6f922313aa0aa78246f7855;hp=d167b2ebf7312e182911335aea48ccb1e9c3c92a;hpb=b06a827aea68b050bf23c37e0162189a94595ee9;p=quassel.git diff --git a/src/qtui/qtuistyle.cpp b/src/qtui/qtuistyle.cpp index d167b2eb..60d858ae 100644 --- a/src/qtui/qtuistyle.cpp +++ b/src/qtui/qtuistyle.cpp @@ -32,6 +32,8 @@ QtUiStyle::QtUiStyle(QObject *parent) : UiStyle(parent) updateUseCustomTimestampFormat(); s.notify("TimestampFormat", this, SLOT(updateTimestampFormatString())); updateTimestampFormatString(); + s.notify("ShowSenderPrefixes", this, SLOT(updateShowSenderPrefixes())); + updateShowSenderPrefixes(); s.notify("ShowSenderBrackets", this, SLOT(updateShowSenderBrackets())); updateShowSenderBrackets(); @@ -54,6 +56,12 @@ void QtUiStyle::updateTimestampFormatString() setTimestampFormatString(s.timestampFormatString()); } +void QtUiStyle::updateShowSenderPrefixes() +{ + ChatViewSettings s; + enableSenderPrefixes(s.showSenderPrefixes()); +} + void QtUiStyle::updateShowSenderBrackets() { ChatViewSettings s;