diff options
Diffstat (limited to 'tools/designer/examples/book/connection.cpp')
-rw-r--r-- | tools/designer/examples/book/connection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/designer/examples/book/connection.cpp b/tools/designer/examples/book/connection.cpp index 9bd0a45..710f50c 100644 --- a/tools/designer/examples/book/connection.cpp +++ b/tools/designer/examples/book/connection.cpp @@ -18,9 +18,9 @@ bool createConnections() defaultDB->setPassword( DB_BOOKS_PASSWD ); defaultDB->setHostName( DB_BOOKS_HOST ); if ( ! defaultDB->open() ) { - tqWarning( "Failed to open books database: " + + qWarning( "Failed to open books database: " + defaultDB->lastError().driverText() ); - tqWarning( defaultDB->lastError().databaseText() ); + qWarning( defaultDB->lastError().databaseText() ); return FALSE; } |