summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/multimedia/windows/mfstream.cpp7
-rw-r--r--src/plugins/multimedia/windows/mfstream_p.h3
2 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/multimedia/windows/mfstream.cpp b/src/plugins/multimedia/windows/mfstream.cpp
index abbf45c9f..fb37ce293 100644
--- a/src/plugins/multimedia/windows/mfstream.cpp
+++ b/src/plugins/multimedia/windows/mfstream.cpp
@@ -18,7 +18,6 @@ MFStream::MFStream(QIODevice *stream, bool ownStream)
//to make sure invocations on stream
//are happened in the same thread of stream object
this->moveToThread(stream->thread());
- connect(stream, &QIODevice::readyRead, this, &MFStream::handleReadyRead);
}
MFStream::~MFStream()
@@ -252,12 +251,6 @@ void MFStream::doRead()
}
}
-
-void MFStream::handleReadyRead()
-{
- doRead();
-}
-
void MFStream::customEvent(QEvent *event)
{
if (event->type() != QEvent::User) {
diff --git a/src/plugins/multimedia/windows/mfstream_p.h b/src/plugins/multimedia/windows/mfstream_p.h
index b8868a01e..a5221ed75 100644
--- a/src/plugins/multimedia/windows/mfstream_p.h
+++ b/src/plugins/multimedia/windows/mfstream_p.h
@@ -114,9 +114,6 @@ private:
void doRead();
-private Q_SLOTS:
- void handleReadyRead();
-
protected:
void customEvent(QEvent *event) override;
IMFAsyncResult *m_currentReadResult;