Remove redundant qWarning's.

The removed warnings just repeat information that is already in the
QSKIP's that immediately follow the warnings.

Change-Id: Id13158487e8075aab8a8f48955303edde3f4af63
Reviewed-on: http://codereview.qt-project.org/6194
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Jason McDonald 2011-10-07 11:42:28 +10:00 committed by Qt by Nokia
parent 435d21383c
commit 413b40eaf7
2 changed files with 2 additions and 6 deletions

View File

@ -75,11 +75,9 @@ private slots:
void tst_QSqlDriver::initTestCase_data() void tst_QSqlDriver::initTestCase_data()
{ {
dbs.open(); dbs.open();
if (dbs.fillTestTable() == 0) { if (dbs.fillTestTable() == 0)
qWarning("NO DATABASES");
QSKIP("No database drivers are available in this Qt configuration", SkipAll); QSKIP("No database drivers are available in this Qt configuration", SkipAll);
} }
}
void tst_QSqlDriver::recreateTestTables(QSqlDatabase db) void tst_QSqlDriver::recreateTestTables(QSqlDatabase db)
{ {

View File

@ -102,11 +102,9 @@ private:
void tst_QSqlRelationalTableModel::initTestCase_data() void tst_QSqlRelationalTableModel::initTestCase_data()
{ {
dbs.open(); dbs.open();
if (dbs.fillTestTable() == 0) { if (dbs.fillTestTable() == 0)
qWarning("NO DATABASES");
QSKIP("No database drivers are available in this Qt configuration", SkipAll); QSKIP("No database drivers are available in this Qt configuration", SkipAll);
} }
}
void tst_QSqlRelationalTableModel::recreateTestTables(QSqlDatabase db) void tst_QSqlRelationalTableModel::recreateTestTables(QSqlDatabase db)
{ {