mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
Fix boolean literal value
This commit is contained in:
parent
8c3360d0a9
commit
a904b128b3
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ void TextOverlay::setProperties(const QScriptValue& properties) {
|
|||
|
||||
float TextOverlay::textWidth(const QString& text) {
|
||||
const int TEXTOVERLAY_GETTEXTWIDTH_TEXTRENDERER = 1; // Separate to that used for drawing text so that doesn't interfere.
|
||||
TextRenderer* textRenderer = TextRenderer::getInstance(SANS_FONT_FAMILY, _fontSize, -1, FALSE, TextRenderer::NO_EFFECT, 1,
|
||||
TextRenderer* textRenderer = TextRenderer::getInstance(SANS_FONT_FAMILY, _fontSize, -1, false, TextRenderer::NO_EFFECT, 1,
|
||||
QColor(255, 255, 255), TEXTOVERLAY_GETTEXTWIDTH_TEXTRENDERER);
|
||||
|
||||
return textRenderer->computeWidth(qPrintable(text));
|
||||
|
|
Loading…
Reference in a new issue