X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatlinemodelitem.cpp;h=fa0a103a68f0fbc96e817f1bf28b91d6ec6e5a48;hb=e1dc333ae055788dd1a2da86ca72aa126c157697;hp=66de6161fc1ac600762e35856755cef158e7b47d;hpb=e6f810169117c836c22ae1146e469e61dec95f6f;p=quassel.git diff --git a/src/qtui/chatlinemodelitem.cpp b/src/qtui/chatlinemodelitem.cpp index 66de6161..fa0a103a 100644 --- a/src/qtui/chatlinemodelitem.cpp +++ b/src/qtui/chatlinemodelitem.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 * @@ -65,7 +65,7 @@ bool ChatLineModelItem::setData(int column, const QVariant &value, int role) { switch (role) { case MessageModel::FlagsRole: - _styledMsg.setFlags((Message::Flags)value.toUInt()); + _styledMsg.setFlags((Message::Flags)value.toInt()); return true; default: return MessageModelItem::setData(column, value, role);