X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsettings.cpp;h=685e6ed064437e9b266f788da89f35a4acab7a5e;hp=107478b141fcc7d329d264a6623e785854a8d8c3;hb=41bf70c263ee0af80ad1850fabe77ffffee188f4;hpb=579e559a6322209df7cd51c34801fecff5fe734b diff --git a/src/qtui/chatviewsettings.cpp b/src/qtui/chatviewsettings.cpp index 107478b1..685e6ed0 100644 --- a/src/qtui/chatviewsettings.cpp +++ b/src/qtui/chatviewsettings.cpp @@ -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.