X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatitem.cpp;h=3dd3b2a7f18eba7173b048a527dcc3f7cad28e45;hp=e9922d24aaf46d30e112c08209ab3e05e8fb8b0a;hb=e6f810169117c836c22ae1146e469e61dec95f6f;hpb=ac7a58dd970833da2336f6ce035ec55515bac0f1 diff --git a/src/qtui/chatitem.cpp b/src/qtui/chatitem.cpp index e9922d24..3dd3b2a7 100644 --- a/src/qtui/chatitem.cpp +++ b/src/qtui/chatitem.cpp @@ -294,7 +294,7 @@ QVector ChatItem::selectionFormats() const if (!hasSelection()) return QVector(); - int start, end; + quint16 start, end; if (_selectionMode == FullSelection) { start = 0; end = data(MessageModel::DisplayRole).toString().length();