X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsettings.cpp;h=51435018c47de00c82c59e230d0189cb03d00878;hb=24c7de34254b5de4cf28045a6923a527e06f7290;hp=a2cbc72db6dd08f3090e56d71551a13e6112733d;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git 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.