Another Speed boost for the new ChatView.
[quassel.git] / src / qtui / chatlinemodelitem.cpp
index 24e2273..1e12cd1 100644 (file)
@@ -156,6 +156,7 @@ private:
       }
       qreal wordendx = line.cursorToX(oldidx);
       qreal trailingendx = line.cursorToX(idx);
+      word.endX = wordendx;
       word.width = wordendx - wordstartx;
       word.trailing = trailingendx - wordendx;
       wordstartx = trailingendx;