Fix build of QWizard tests with QT_USE_QSTRINGBUILDER

Change-Id: Id276cdb9b84c61bf75a5bde149142f39f52f563e
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
bb10
Stephen Kelly 2012-02-29 12:49:00 +01:00 committed by Qt by Nokia
parent 8dfc86e0d6
commit e28be90dea
1 changed files with 2 additions and 2 deletions

View File

@ -562,8 +562,8 @@ void tst_QWizard::setDefaultProperty()
// make sure the data structure is reasonable
for (int i = 0; i < 200000; ++i) {
wizard.setDefaultProperty("QLineEdit", "x" + QByteArray::number(i), 0);
wizard.setDefaultProperty("QLabel", "y" + QByteArray::number(i), 0);
wizard.setDefaultProperty("QLineEdit", QByteArray("x" + QByteArray::number(i)).constData(), 0);
wizard.setDefaultProperty("QLabel", QByteArray("y" + QByteArray::number(i)).constData(), 0);
}
}