projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finished the fusion of the different main_* files, so now we have only one #ifdef...
[quassel.git]
/
src
/
qtgui
/
chatline.cpp
diff --git
a/src/qtgui/chatline.cpp
b/src/qtgui/chatline.cpp
index
5d828c1
..
fd3c710
100644
(file)
--- a/
src/qtgui/chatline.cpp
+++ b/
src/qtgui/chatline.cpp
@@
-223,6
+223,8
@@
int ChatLine::posToCursor(QPointF pos) {
return line.start;
}
}
return line.start;
}
}
+ qWarning() << "Should we ever reach this point?";
+ return 0;
}
void ChatLine::precomputeLine() {
}
void ChatLine::precomputeLine() {
@@
-243,7
+245,7
@@
void ChatLine::precomputeLine() {
for(int j = url.start; j < url.end; j++) charUrlIdx[j] = i;
}
if(!textFormat.count()) return;
for(int j = url.start; j < url.end; j++) charUrlIdx[j] = i;
}
if(!textFormat.count()) return;
- int idx = 0; int cnt = 0; int w = 0;
int h = 0;
+ int idx = 0; int cnt = 0; int w = 0;
QFontMetrics metrics(textFormat[0].format.font());
Word wr;
wr.start = -1; wr.trailing = -1;
QFontMetrics metrics(textFormat[0].format.font());
Word wr;
wr.start = -1; wr.trailing = -1;