X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2Fchatviewsettings.cpp;h=685e6ed064437e9b266f788da89f35a4acab7a5e;hb=52209badc8e769e50aa3019b63689dda0e79e9d0;hp=a2cbc72db6dd08f3090e56d71551a13e6112733d;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/qtui/chatviewsettings.cpp b/src/qtui/chatviewsettings.cpp index a2cbc72d..685e6ed0 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-2019 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.