X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatitem.cpp;h=3dd3b2a7f18eba7173b048a527dcc3f7cad28e45;hb=c2e3479b87e7d0713d302d26fb2d7d01d7b8c9c2;hp=e9922d24aaf46d30e112c08209ab3e05e8fb8b0a;hpb=ac7a58dd970833da2336f6ce035ec55515bac0f1;p=quassel.git 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();