X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fqtuistyle.cpp;h=f8e56aa3263a10abe3a32025722597fed7feae5f;hb=932ab289c1482a8069cc320a16aca9216058523a;hp=60d858ae36698979303b5baec1a413367b135bec;hpb=53861faa5551606eea31588b65ba501b24fb2e1a;p=quassel.git diff --git a/src/qtui/qtuistyle.cpp b/src/qtui/qtuistyle.cpp index 60d858ae..f8e56aa3 100644 --- a/src/qtui/qtuistyle.cpp +++ b/src/qtui/qtuistyle.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -32,8 +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("SenderPrefixMode", this, SLOT(updateSenderPrefixDisplay())); + updateSenderPrefixDisplay(); s.notify("ShowSenderBrackets", this, SLOT(updateShowSenderBrackets())); updateShowSenderBrackets(); @@ -56,10 +56,10 @@ void QtUiStyle::updateTimestampFormatString() setTimestampFormatString(s.timestampFormatString()); } -void QtUiStyle::updateShowSenderPrefixes() +void QtUiStyle::updateSenderPrefixDisplay() { ChatViewSettings s; - enableSenderPrefixes(s.showSenderPrefixes()); + setSenderPrefixDisplay(s.SenderPrefixDisplay()); } void QtUiStyle::updateShowSenderBrackets()