X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsettings.cpp;h=34fb4186fbabe6f27dc29f7000d001435f15153b;hp=a2cbc72db6dd08f3090e56d71551a13e6112733d;hb=HEAD;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650 diff --git a/src/qtui/chatviewsettings.cpp b/src/qtui/chatviewsettings.cpp index a2cbc72d..51435018 100644 --- a/src/qtui/chatviewsettings.cpp +++ b/src/qtui/chatviewsettings.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -70,7 +70,7 @@ void ChatViewSettings::setTimestampFormatString(const QString& format) UiStyle::SenderPrefixMode ChatViewSettings::senderPrefixDisplay() const { return static_cast( - localValue("SenderPrefixMode", QVariant::fromValue(UiStyle::SenderPrefixMode::HighestMode)).toInt()); + localValue("SenderPrefixMode", QVariant::fromValue(UiStyle::SenderPrefixMode::HighestMode)).toInt()); // Cast the QVariant to an integer, then cast that to the enum class. // .canConvert() returned true, but // .value(); always gave the default value 0.