From f9f5371b216ced8cf37f506f2fa2999945d3c46b Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Thu, 5 Jan 2017 21:10:21 +0100 Subject: QtMultimedia: Use the newly-introduced qmlWarning instead of qmlInfo qmlInfo will shortly be returning info-level messages (as the name hints), rather than warning level messages. Change-Id: I42426cf89c328db73dc307f9f587654a048047ba Reviewed-by: Simon Hausmann --- src/imports/multimedia/qdeclarativeaudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/imports') diff --git a/src/imports/multimedia/qdeclarativeaudio.cpp b/src/imports/multimedia/qdeclarativeaudio.cpp index 75bb21ee5..fc13323e8 100644 --- a/src/imports/multimedia/qdeclarativeaudio.cpp +++ b/src/imports/multimedia/qdeclarativeaudio.cpp @@ -429,7 +429,7 @@ qreal QDeclarativeAudio::volume() const void QDeclarativeAudio::setVolume(qreal volume) { if (volume < 0 || volume > 1) { - qmlInfo(this) << tr("volume should be between 0.0 and 1.0"); + qmlWarning(this) << tr("volume should be between 0.0 and 1.0"); return; } -- cgit v1.2.3