From 040b57bb7136627bcb0e151ac0e7d5f444e4f6e2 Mon Sep 17 00:00:00 2001 From: Mike Date: Thu, 24 Jan 2019 10:24:19 -0500 Subject: [PATCH] Drop back to 2.11 --- plasmoid/contents/ui/Splash.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plasmoid/contents/ui/Splash.qml b/plasmoid/contents/ui/Splash.qml index 232d6ff..58d3052 100644 --- a/plasmoid/contents/ui/Splash.qml +++ b/plasmoid/contents/ui/Splash.qml @@ -1,7 +1,7 @@ -import QtQuick 2.12 +import QtQuick 2.11 import QtQuick.Layouts 1.3 import QtQuick.Controls 2.4 -import QtQuick.Window 2.12 +import QtQuick.Window 2.11 import QtGraphicalEffects 1.0 import org.kde.kirigami 2.4 as Kirigami import 'helpers' @@ -141,7 +141,7 @@ Item { to: trackSplash.destX velocity: root.speed } - onFinished: event.queueCall(root.duration/2, fadeOut.start) + onRunningChanged: if (!running) event.queueCall(root.duration/2, fadeOut.start) } } @@ -171,7 +171,7 @@ Item { to: trackSplash.destY velocity: root.speed } - onFinished: event.queueCall(root.duration/2, fadeOut.start) + onRunningChanged: if (!running) event.queueCall(root.duration/2, fadeOut.start) } } @@ -183,7 +183,7 @@ Item { property: 'opacity' to: root.opacity duration: root.fadeIn - onFinished: event.queueCall(root.duration/2, fadeOut.start) + onRunningChanged: if (!running) event.queueCall(root.duration/2, fadeOut.start) } } @@ -193,7 +193,7 @@ Item { property: 'opacity' to: 0 duration: root.fadeOut - onFinished: done(trackSplash.strList[0]) + onRunningChanged: if (!running) done(trackSplash.strList[0]) } } }