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,10 +75,8 @@ private slots:
void tst_QSqlDriver::initTestCase_data()
{
dbs.open();
if (dbs.fillTestTable() == 0) {
qWarning("NO DATABASES");
if (dbs.fillTestTable() == 0)
QSKIP("No database drivers are available in this Qt configuration", SkipAll);
}
}
void tst_QSqlDriver::recreateTestTables(QSqlDatabase db)

View File

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