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 710f50c..9bd0a45 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; } |