Skip to content

Commit

Permalink
Drop back to 2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
noee committed Jan 24, 2019
1 parent 711dc40 commit 040b57b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plasmoid/contents/ui/Splash.qml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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)
}
}

Expand Down Expand Up @@ -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)
}
}

Expand All @@ -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)
}
}

Expand All @@ -193,7 +193,7 @@ Item {
property: 'opacity'
to: 0
duration: root.fadeOut
onFinished: done(trackSplash.strList[0])
onRunningChanged: if (!running) done(trackSplash.strList[0])
}
}
}
Expand Down

0 comments on commit 040b57b

Please sign in to comment.