File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ bool QgsDb2NewConnection::testConnection()
176
176
if ( errMsg.isEmpty () )
177
177
{
178
178
QgsDebugMsg ( " connection open succeeded " + connInfo );
179
- bar->pushMessage ( tr ( " Connection to %1 was successful." ).arg ( txtDatabase ->text () ),
179
+ bar->pushMessage ( tr ( " Connection to %1 was successful." ).arg ( txtName ->text () ),
180
180
Qgis::Info );
181
181
return true ;
182
182
}
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ void QgsOracleNewConnection::testConnection()
159
159
if ( conn )
160
160
{
161
161
// Database successfully opened; we can now issue SQL commands.
162
- bar->pushMessage ( tr ( " Connection to %1 was successful." ).arg ( txtDatabase ->text () ),
162
+ bar->pushMessage ( tr ( " Connection to %1 was successful." ).arg ( txtName ->text () ),
163
163
Qgis::Info );
164
164
// free connection resources
165
165
QgsOracleConnPool::instance ()->releaseConnection ( conn );
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ void QgsPgNewConnection::testConnection()
205
205
if ( conn )
206
206
{
207
207
// Database successfully opened; we can now issue SQL commands.
208
- bar->pushMessage ( tr ( " Connection to %1 was successful." ).arg ( txtDatabase ->text () ),
208
+ bar->pushMessage ( tr ( " Connection to %1 was successful." ).arg ( txtName ->text () ),
209
209
Qgis::Info );
210
210
211
211
// free pg connection resources
You can’t perform that action at this time.
0 commit comments