Fixed a couple of failing auto tests.

QDeclarativeAudio test is using a fake backend initialised
to a specific volume. The test was testing against a
different volume.

QMediaPlayerWidgets was trying to include QApplication,
but from the wrong place and was not including QtWidgets
module.

Change-Id: I5ca108a040a4f4bd0d7550268f3a4ef5d790e755
Reviewed-on: http://codereview.qt-project.org/6458
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
This commit is contained in:
Jonas Rabbe
2011-10-12 07:41:09 +10:00
committed by Qt by Nokia
parent bc8841699f
commit 126addddb5
3 changed files with 3 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ public:
, m_duration(0)
, m_position(0)
, m_playbackRate(1.0)
, m_volume(50)
, m_volume(100)
, m_bufferStatus(0)
, m_muted(false)
, m_audioAvailable(false)