projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix compile error with Qt4
[quassel.git]
/
src
/
qtui
/
chatitem.cpp
diff --git
a/src/qtui/chatitem.cpp
b/src/qtui/chatitem.cpp
index
e9922d2
..
3dd3b2a
100644
(file)
--- a/
src/qtui/chatitem.cpp
+++ b/
src/qtui/chatitem.cpp
@@
-294,7
+294,7
@@
QVector<QTextLayout::FormatRange> ChatItem::selectionFormats() const
if (!hasSelection())
return QVector<QTextLayout::FormatRange>();
-
int
start, end;
+
quint16
start, end;
if (_selectionMode == FullSelection) {
start = 0;
end = data(MessageModel::DisplayRole).toString().length();