on xenial help sign in
Avoid undefined-assignment warning for QUrl-based source.
commit9b06715390f865f6f7cf4a2e0cc08337a45f57fd authorMirco Müller <mirco.mueller@ubuntu.com> dateTue 15 Jul 2014, 15:38 (12 years ago) parenta2b5cf1
1 file changed+1−1
qml/Notifications/Notification.qml+1−1
qml/Notifications/Notification.qml+1−1
@@ -69,7 +69,7 @@ Item {
6969 Audio {
7070 id: sound
7171 objectName: "sound"
72− source: hints["suppress-sound"] != "true" ? hints["sound-file"] : undefined
72+ source: hints["suppress-sound"] != "true" && hints["sound-file"] != undefined ? hints["sound-file"] : ""
7373 }
7474
7575 onOpacityChanged: {