[Telepathy-commits] [telepathy-qt4/master] StreamedMediaChannel: Fixed stream removal handling.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Tue Mar 10 23:09:05 PDT 2009
---
TelepathyQt4/Client/streamed-media-channel.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/TelepathyQt4/Client/streamed-media-channel.cpp b/TelepathyQt4/Client/streamed-media-channel.cpp
index 5656519..62b7110 100644
--- a/TelepathyQt4/Client/streamed-media-channel.cpp
+++ b/TelepathyQt4/Client/streamed-media-channel.cpp
@@ -381,7 +381,7 @@ void StreamedMediaChannel::onStreamRemoved(uint streamId)
if (mPriv->streams.contains(streamId)) {
QSharedPointer<MediaStream> stream = mPriv->streams[streamId];
emit stream->removed();
- stream.clear();
+ mPriv->streams.remove(streamId);
}
}
--
1.5.6.5
More information about the telepathy-commits
mailing list