summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/backend.cpp
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-09-06 23:22:32 (GMT)
committerGareth Stockwell <gareth.stockwell@sosco.com>2009-09-09 15:30:19 (GMT)
commitc4fb0864e229ff33e4b454c74116573a9ea79054 (patch)
tree15b70bac51904b01c1885c103bb69a6d95551b6c /src/3rdparty/phonon/mmf/backend.cpp
parent7d2d15bbc9d598daf94800b576aff19a68119ed1 (diff)
downloadQt-c4fb0864e229ff33e4b454c74116573a9ea79054.zip
Qt-c4fb0864e229ff33e4b454c74116573a9ea79054.tar.gz
Qt-c4fb0864e229ff33e4b454c74116573a9ea79054.tar.bz2
Make the MediaObject propagation generic for all kinds of nodes.
Previously the MediaObject propagation was only done for effects, but now it's for all kinds of nodes. This is needed for AudioOutput.
Diffstat (limited to 'src/3rdparty/phonon/mmf/backend.cpp')
-rw-r--r--src/3rdparty/phonon/mmf/backend.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/3rdparty/phonon/mmf/backend.cpp b/src/3rdparty/phonon/mmf/backend.cpp
index d05b543..fe1b1a7 100644
--- a/src/3rdparty/phonon/mmf/backend.cpp
+++ b/src/3rdparty/phonon/mmf/backend.cpp
@@ -132,9 +132,7 @@ bool Backend::connectNodes(QObject *source, QObject *target)
MediaNode *const mediaSource = static_cast<MediaNode *>(source);
MediaNode *const mediaTarget = static_cast<MediaNode *>(target);
- mediaSource->connectMediaNode(mediaTarget);
-
- return false;
+ return mediaSource->connectMediaNode(mediaTarget);
}
bool Backend::disconnectNodes(QObject *source, QObject *target)