From 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 28 Feb 2012 22:31:39 -0600 Subject: Automated conversion from qt3 --- tools/designer/examples/book/connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/designer/examples/book') 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; } -- cgit v1.2.1