From: Friedemann Kleint Date: Fri, 24 Jan 2014 13:44:20 +0000 (+0100) Subject: Fix MSVC-warnings about unused variable meta in tst_qdeclarativevideooutput.cpp. X-Git-Tag: upstream/5.2.95+rc1~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bfd49d40fc4739be91cbe107aff9bb4c4c217af;p=platform%2Fupstream%2Fqtmultimedia.git Fix MSVC-warnings about unused variable meta in tst_qdeclarativevideooutput.cpp. Change-Id: If324fd2e65acb7650b1d8dee4964a2c2bb17f876 Reviewed-by: Yoann Lopes --- diff --git a/tests/auto/integration/qdeclarativevideooutput/tst_qdeclarativevideooutput.cpp b/tests/auto/integration/qdeclarativevideooutput/tst_qdeclarativevideooutput.cpp index 05c507f..fc8de1b 100644 --- a/tests/auto/integration/qdeclarativevideooutput/tst_qdeclarativevideooutput.cpp +++ b/tests/auto/integration/qdeclarativevideooutput/tst_qdeclarativevideooutput.cpp @@ -694,16 +694,14 @@ void tst_QDeclarativeVideoOutput::contentRect_data() QRectF tst_QDeclarativeVideoOutput::invokeR2R(QObject *object, const char *signature, const QRectF &rect) { QRectF r; - const QMetaObject *meta = object->metaObject(); - meta->invokeMethod(object, signature, Q_RETURN_ARG(QRectF, r), Q_ARG(QRectF, rect)); + QMetaObject::invokeMethod(object, signature, Q_RETURN_ARG(QRectF, r), Q_ARG(QRectF, rect)); return r; } QPointF tst_QDeclarativeVideoOutput::invokeP2P(QObject *object, const char *signature, const QPointF &point) { QPointF p; - const QMetaObject *meta = object->metaObject(); - meta->invokeMethod(object, signature, Q_RETURN_ARG(QPointF, p), Q_ARG(QPointF, point)); + QMetaObject::invokeMethod(object, signature, Q_RETURN_ARG(QPointF, p), Q_ARG(QPointF, point)); return p; }