summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/abstractmediaplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/phonon/mmf/abstractmediaplayer.cpp')
-rw-r--r--src/3rdparty/phonon/mmf/abstractmediaplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/phonon/mmf/abstractmediaplayer.cpp b/src/3rdparty/phonon/mmf/abstractmediaplayer.cpp
index bca0891..3702560 100644
--- a/src/3rdparty/phonon/mmf/abstractmediaplayer.cpp
+++ b/src/3rdparty/phonon/mmf/abstractmediaplayer.cpp
@@ -258,13 +258,13 @@ void MMF::AbstractMediaPlayer::open()
case MediaSource::Stream: {
QResource *const resource = m_parent->resource();
- if (resource && resource->isValid()) {
+ if (resource) {
m_buffer.Set(resource->data(), resource->size());
symbianErr = openDescriptor(m_buffer);
if (KErrNone != symbianErr)
errorMessage = tr("Error opening resource");
} else {
- errorMessage = tr("Error opening source: resource not valid");
+ errorMessage = tr("Error opening source: resource not opened");
}
break;
}