summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@crimson.no>2017-01-05 21:10:21 +0100
committerRobin Burchell <robin.burchell@crimson.no>2017-01-13 22:41:32 +0000
commitf9f5371b216ced8cf37f506f2fa2999945d3c46b (patch)
tree77a4cbd8f659677cf15f3adb2ce3d03fe5b37df8
parentc6811366271a47c0de3e4bb92739773856388b3e (diff)
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 <simon.hausmann@qt.io>
-rw-r--r--src/imports/multimedia/qdeclarativeaudio.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}