From 724015cb023e5d4364e375ec2fe8d45c1ba6d758 Mon Sep 17 00:00:00 2001 From: Andy Nichols Date: Thu, 13 Feb 2014 16:24:31 +0100 Subject: Fix issues in qt5-launcher presentation No warnings on start Using a valid fontfamily for Context2D example velocityfrommotion particle demo is now visible Change-Id: Ibc805d32f55950279918935d1711f61afe0d7308 Reviewed-by: Eirik Aavitsland --- basicsuite/qt5-launchpresentation/CanvasSlide.qml | 2 +- basicsuite/qt5-launchpresentation/OpacityTransitionPresentation.qml | 4 ++-- basicsuite/qt5-launchpresentation/particles/velocityfrommotion.qml | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'basicsuite/qt5-launchpresentation') diff --git a/basicsuite/qt5-launchpresentation/CanvasSlide.qml b/basicsuite/qt5-launchpresentation/CanvasSlide.qml index d972b41..46f98ed 100644 --- a/basicsuite/qt5-launchpresentation/CanvasSlide.qml +++ b/basicsuite/qt5-launchpresentation/CanvasSlide.qml @@ -105,7 +105,7 @@ ctx.fill(); ctx.stroke(); ctx.fillStyle = 'aquamarine' -ctx.font = '20px sansserif' +ctx.font = '20px sans-serif' ctx.fillText('HTML Canvas API!', 100, 300); ctx.fillText('Imperative Drawing!', 100, 340); diff --git a/basicsuite/qt5-launchpresentation/OpacityTransitionPresentation.qml b/basicsuite/qt5-launchpresentation/OpacityTransitionPresentation.qml index dc7cc02..542ec6f 100644 --- a/basicsuite/qt5-launchpresentation/OpacityTransitionPresentation.qml +++ b/basicsuite/qt5-launchpresentation/OpacityTransitionPresentation.qml @@ -51,8 +51,8 @@ Presentation { property bool inTransition: false; - property variant fromSlide; - property variant toSlide; + property variant fromSlide: Item { } + property variant toSlide: Item { } property int transitionTime: 500; diff --git a/basicsuite/qt5-launchpresentation/particles/velocityfrommotion.qml b/basicsuite/qt5-launchpresentation/particles/velocityfrommotion.qml index 2aa3617..2824e1d 100644 --- a/basicsuite/qt5-launchpresentation/particles/velocityfrommotion.qml +++ b/basicsuite/qt5-launchpresentation/particles/velocityfrommotion.qml @@ -47,6 +47,7 @@ Item { height: 480 width: 320 + visible: true MouseArea { id: mouseArea -- cgit v1.2.3