bring visibleChanged to standard

This commit is contained in:
Zach Pomerantz 2017-06-20 14:04:50 -07:00 committed by GitHub
parent f55d842fac
commit 278a122291

View file

@ -39,7 +39,11 @@ RowLayout {
Component.onCompleted: createSampleSound();
Component.onDestruction: stopSound();
onVisibleChanged: { if (!visible) stopSound(); }
onVisibleChanged: {
if (!visible) {
stopSound();
}
}
HifiConstants { id: hifi; }