Commit a38c5126 authored by Bruno Coudoin's avatar Bruno Coudoin
Browse files

minor code cleanup, useless code.

parent 60ede2ac
...@@ -125,12 +125,6 @@ Item { ...@@ -125,12 +125,6 @@ Item {
*/ */
signal start signal start
/* FIXME: is this used? */
signal pause
/* FIXME: is this used? */
signal play
/** /**
* Emitted when the activity is about to stop * Emitted when the activity is about to stop
* *
......
...@@ -152,7 +152,6 @@ Window { ...@@ -152,7 +152,6 @@ Window {
id: root id: root
function getTransition(properties) function getTransition(properties)
{ {
properties.exitItem.pause()
audioVoices.clearQueue() audioVoices.clearQueue()
if(!properties.exitItem.isDialog) { if(!properties.exitItem.isDialog) {
if(!properties.enterItem.isDialog) { if(!properties.enterItem.isDialog) {
...@@ -180,7 +179,6 @@ Window { ...@@ -180,7 +179,6 @@ Window {
function transitionFinished(properties) function transitionFinished(properties)
{ {
properties.exitItem.opacity = 1 properties.exitItem.opacity = 1
properties.enterItem.play()
if(!properties.enterItem.isDialog) { if(!properties.enterItem.isDialog) {
properties.exitItem.stop() properties.exitItem.stop()
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment