summaryrefslogtreecommitdiffstats
path: root/basicsuite/qt5-everywhere
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@digia.com>2014-02-13 17:52:00 +0100
committerAndy Nichols <andy.nichols@digia.com>2014-02-14 13:30:58 +0200
commitf5b70c4ff2a8935028fcb042f94656d1d128628d (patch)
treeb17ff077c63338e9ddc05d6aff8233c1bf45192a /basicsuite/qt5-everywhere
parent8b59cba6ea76466a605db68130716dfe6e36de28 (diff)
Fix Canvas2D error
The numbers on the clock were being rendered wrong because of an invalid Context2D font family. Change-Id: I74d3ce15ccfba77dae4997874f940b5d1fff34a9 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
Diffstat (limited to 'basicsuite/qt5-everywhere')
-rw-r--r--basicsuite/qt5-everywhere/demos/canvasclock/canvasClock.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/basicsuite/qt5-everywhere/demos/canvasclock/canvasClock.qml b/basicsuite/qt5-everywhere/demos/canvasclock/canvasClock.qml
index 7d68c55..2a79735 100644
--- a/basicsuite/qt5-everywhere/demos/canvasclock/canvasClock.qml
+++ b/basicsuite/qt5-everywhere/demos/canvasclock/canvasClock.qml
@@ -249,7 +249,7 @@ function drawPointer(context, angle, len, thickness, color){
if (root.dialStyle === 1) x1-=clockContainer.width*0.01
- context.font = 'bold '+Math.floor(clockContainer.width*.1)+'px Arial'
+ context.font = 'bold '+Math.floor(clockContainer.width*.1)+'px sans-serif'
if (i >= 10)