Fix debug output test - type is qreal, so can be float or double.

Change-Id: Ica34e3076b186c4e4af4492722c1fe00445d3184
Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
This commit is contained in:
Michael Goddard
2011-10-21 11:16:26 +10:00
committed by Qt by Nokia
parent f7d0cc8151
commit 4be55afa6c

View File

@@ -1032,7 +1032,11 @@ void tst_QVideoSurfaceFormat::debugOperator()
" frameWidth = QVariant(int, %6) \n"
" viewport = QVariant(QRect, QRect(0,1 800x600) ) \n"
" scanLineDirection = QVariant(QVideoSurfaceFormat::Direction, ) \n"
#if defined(QT_ARCH_ARM) // from qglobal.h
" frameRate = QVariant(float, %7) \n"
#else
" frameRate = QVariant(double, %7) \n"
#endif
" pixelAspectRatio = QVariant(QSize, QSize(320, 200) ) \n"
" sizeHint = QVariant(QSize, QSize(1280, 600) ) \n"
" yCbCrColorSpace = QVariant(QVideoSurfaceFormat::YCbCrColorSpace, ) ")