Skip to content

Commit

Permalink
Pausing the pipeline when showing the about dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
calvaris committed Mar 29, 2012
1 parent 1a1f9cf commit 589e3b8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/aura.qml
Expand Up @@ -126,7 +126,10 @@ PageStackWindow {
enabled: controller.pipelineReady
visible: !controller.recording && !page.__dialogsVisible

onClicked: appWindow.pageStack.push(aboutView)
onClicked: {
controller.pausePipeline()
appWindow.pageStack.push(aboutView)
}

Component {
id: aboutView
Expand Down Expand Up @@ -162,6 +165,11 @@ PageStackWindow {
"this program. If not, see " +
"<a href=\"http://www.gnu.org/licenses\">" +
"http://www.gnu.org/licenses</a><br/><br/>"
onStatusChanged: {
if (status == PageStatus.Inactive) {
controller.startPipeline()
}
}
}
}
}
Expand Down

0 comments on commit 589e3b8

Please sign in to comment.