From 520c05ef06ce203ad32470730f68402bc7719157 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 27 Feb 2012 02:13:42 -0600 Subject: Automated update from qt3 --- src/sql/qsqldatabase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sql/qsqldatabase.cpp') diff --git a/src/sql/qsqldatabase.cpp b/src/sql/qsqldatabase.cpp index ebe65d1ba..582219b49 100644 --- a/src/sql/qsqldatabase.cpp +++ b/src/sql/qsqldatabase.cpp @@ -211,12 +211,12 @@ TQSqlDatabaseManager* TQSqlDatabaseManager::instance() { static TQGuardedPtr sqlConnection = 0; if ( !sqlConnection ) { - if( qApp == 0 ){ + if( tqApp == 0 ){ qFatal( "TQSqlDatabaseManager: A TQApplication object has to be " "instantiated in order to use the SQL module." ); return 0; } - sqlConnection = new TQSqlDatabaseManager( qApp, "database manager" ); + sqlConnection = new TQSqlDatabaseManager( tqApp, "database manager" ); } return (TQSqlDatabaseManager*)sqlConnection; } -- cgit v1.2.1