on xenial help sign in
Further MP-comment tweaks.
commit28cb8d81ea9fc978af2dcb81e3d37ae435b0ed59 authorMirco Müller <mirco.mueller@ubuntu.com> dateWed 18 Jun 2014, 11:45 (12 years ago) parent48481d4
1 file changed+2−2
qml/Notifications/Notification.qml+2−2
qml/Notifications/Notification.qml+2−2
@@ -74,8 +74,8 @@ Item {
7474 }
7575
7676 onOpacityChanged: {
77− if (opacity == 1.0 && hints["suppress-sound"] != "true" && sound.source != undefined) {
78− sound.play()
77+ if (opacity == 1.0 && hints["suppress-sound"] != "true" && sound.source) {
78+ sound.play();
7979 }
8080 }
8181