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 3e42fd99e..d9b0df31f 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() ) { - qWarning( "Failed to open books database: " + + tqWarning( "Failed to open books database: " + defaultDB->lastError().driverText() ); - qWarning( defaultDB->lastError().databaseText() ); + tqWarning( defaultDB->lastError().databaseText() ); return FALSE; } |