mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
bring visibleChanged to standard
This commit is contained in:
parent
f55d842fac
commit
278a122291
1 changed files with 5 additions and 1 deletions
|
@ -39,7 +39,11 @@ RowLayout {
|
|||
|
||||
Component.onCompleted: createSampleSound();
|
||||
Component.onDestruction: stopSound();
|
||||
onVisibleChanged: { if (!visible) stopSound(); }
|
||||
onVisibleChanged: {
|
||||
if (!visible) {
|
||||
stopSound();
|
||||
}
|
||||
}
|
||||
|
||||
HifiConstants { id: hifi; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue