Change-Id: Ia739c995005635caf6fd0bd4e495ed8567350e83
Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
}
int AnimalModel::rowCount(const QModelIndex & parent) const {
+ Q_UNUSED(parent);
return m_animals.count();
}
QQmlContext context(engine.rootContext());
QObject *o1 = component.create(&context);
+ Q_UNUSED(o1);
QCOMPARE(command.count, 2);
}
QImage requestImage(const QString &id, QSize *size, const QSize& requestedSize)
{
+ Q_UNUSED(requestedSize);
if (id == QLatin1String("first-image.png")) {
QTest::qWait(50);
int width = 100;
delete view;
}
-static void silentErrorsMsgHandler(QtMsgType, const QMessageLogContext &, const QString &)
-{
-}
-
void tst_QQuickView::errors()
{
QQuickView *view = new QQuickView;