Fixed a connection to a slot that doesn't exists

Change-Id: I7f94bab4e230996ace46d1c04d9d5a66ad9443d5
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
Tasuku Suzuki
2013-02-13 11:12:23 +09:00
committed by The Qt Project
parent 7df6aa0f65
commit 9001f04038

View File

@@ -179,7 +179,7 @@ void QDeclarativeVideoOutput::setSource(QObject *source)
if (mediaObjectProperty.hasNotifySignal()) { if (mediaObjectProperty.hasNotifySignal()) {
QMetaMethod method = mediaObjectProperty.notifySignal(); QMetaMethod method = mediaObjectProperty.notifySignal();
QMetaObject::connect(m_source.data(), method.methodIndex(), QMetaObject::connect(m_source.data(), method.methodIndex(),
this, this->metaObject()->indexOfSlot("updateMediaObject()"), this, this->metaObject()->indexOfSlot("_q_updateMediaObject()"),
Qt::DirectConnection, 0); Qt::DirectConnection, 0);
} }