summaryrefslogtreecommitdiffstats
path: root/tests/auto/unit/qaudiorecorder/tst_qaudiorecorder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/unit/qaudiorecorder/tst_qaudiorecorder.cpp')
-rw-r--r--tests/auto/unit/qaudiorecorder/tst_qaudiorecorder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/unit/qaudiorecorder/tst_qaudiorecorder.cpp b/tests/auto/unit/qaudiorecorder/tst_qaudiorecorder.cpp
index 7c0b69ad9..e1d9c1bcf 100644
--- a/tests/auto/unit/qaudiorecorder/tst_qaudiorecorder.cpp
+++ b/tests/auto/unit/qaudiorecorder/tst_qaudiorecorder.cpp
@@ -37,7 +37,7 @@
#include <qaudioinputselectorcontrol.h>
#include <qaudiodeviceinfo.h>
#include <qaudioinput.h>
-#include <qmediaobject.h>
+#include <qmediasource.h>
//TESTED_COMPONENT=src/multimedia
@@ -125,7 +125,7 @@ void tst_QAudioRecorder::testAudioSource()
{
audiosource = new QAudioRecorder;
- QCOMPARE(audiosource->mediaObject()->service(),(QMediaService *) mockMediaRecorderService);
+ QCOMPARE(audiosource->mediaSource()->service(),(QMediaService *) mockMediaRecorderService);
}
void tst_QAudioRecorder::testDevices()