mirror of
https://github.com/lubosz/overte.git
synced 2025-04-17 00:57:44 +02:00
stop audio sample on visibleChanged
This commit is contained in:
parent
5c0e9e7496
commit
ab6c8505b8
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ RowLayout {
|
|||
|
||||
Component.onCompleted: createSampleSound();
|
||||
Component.onDestruction: stopSound();
|
||||
onVisibleChanged: { if (!visible) stopSound(); }
|
||||
|
||||
HifiConstants { id: hifi; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue