diff options
author | Robin Burchell <robin.burchell@crimson.no> | 2017-01-05 21:10:21 +0100 |
---|---|---|
committer | Robin Burchell <robin.burchell@crimson.no> | 2017-01-13 22:41:32 +0000 |
commit | f9f5371b216ced8cf37f506f2fa2999945d3c46b (patch) | |
tree | 77a4cbd8f659677cf15f3adb2ce3d03fe5b37df8 /src/imports | |
parent | c6811366271a47c0de3e4bb92739773856388b3e (diff) | |
download | qtmultimedia-f9f5371b216ced8cf37f506f2fa2999945d3c46b.tar.gz |
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>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/multimedia/qdeclarativeaudio.cpp | 2 |
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; } |