aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Revest <revestflo@gmail.com>2016-07-10 11:18:45 +0200
committerFlorent Revest <revestflo@gmail.com>2016-07-10 11:18:45 +0200
commit3c9d7497c87dcde8decc8112acf29d636c7d7865 (patch)
tree1e01add88aec5cca5a37588969d930efb1ff27aa
parentae2dd5d00261b50459a71b2a21b5cad0817f5d1a (diff)
Removes the usage of QtGraphicalEffects by replacing LinearGradient by a Rectangle
-rw-r--r--main.qml5
1 files changed, 1 insertions, 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" }