From 3c9d7497c87dcde8decc8112acf29d636c7d7865 Mon Sep 17 00:00:00 2001 From: Florent Revest Date: Sun, 10 Jul 2016 11:18:45 +0200 Subject: Removes the usage of QtGraphicalEffects by replacing LinearGradient by a Rectangle --- main.qml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main.qml b/main.qml index 5dba820..21f25ee 100644 --- a/main.qml +++ b/main.qml @@ -19,7 +19,6 @@ */ import QtQuick 2.5 -import QtGraphicalEffects 1.0 import org.asteroid.controls 1.0 Application { @@ -53,11 +52,9 @@ Application { Item { anchors.fill: parent - LinearGradient { + Rectangle { id: mainPage anchors.fill: parent - start: Qt.point(0, 0) - end: Qt.point(0, parent.height) gradient: Gradient { GradientStop { position: 0.0; color: "#F07060" } GradientStop { position: 1.0; color: "#DD5E4E" } -- cgit v1.2.3-70-g09d2