mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 14:02:57 +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.onCompleted: createSampleSound();
|
||||||
Component.onDestruction: stopSound();
|
Component.onDestruction: stopSound();
|
||||||
onVisibleChanged: { if (!visible) stopSound(); }
|
onVisibleChanged: {
|
||||||
|
if (!visible) {
|
||||||
|
stopSound();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
HifiConstants { id: hifi; }
|
HifiConstants { id: hifi; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue