Skip to content

Commit

Permalink
Fix qt<4.6 overlay render
Browse files Browse the repository at this point in the history
  • Loading branch information
thorvald committed Jan 31, 2010
1 parent 0901e3a commit e99122c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion celt-0.7.0-src
Submodule celt-0.7.0-src updated from df7265 to 6c79a9
2 changes: 1 addition & 1 deletion src/mumble/Overlay.cpp
Expand Up @@ -352,7 +352,7 @@ bool OverlayClient::setTexts(const QList<OverlayTextLine> &lines) {
qp.translate(- qr.x() + fEdge, - qr.y() + fEdge);
#else
qp = QPainterPath();
qp.addText(- qr.x() + fEdge, - qr.y() + 2 * fEdge + fBase, fFont, str);
qp.addText(- qr.x() + fEdge, - qr.y() + 2 * fEdge + fBase, fFont, e.qsText);
#endif

int w = iroundf(qr.width() + 2 * fEdge + 0.5f);
Expand Down

0 comments on commit e99122c

Please sign in to comment.