Skip to content
Permalink
Browse files
use username and password for pg connection test, even if they are no…
…t going to be saved

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14379 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Oct 14, 2010
1 parent ce44811 commit 53349fa
Showing 1 changed file with 1 addition and 2 deletions.
@@ -161,8 +161,7 @@ void QgsPgNewConnection::testConnection()
{
QgsDataSourceURI uri;
uri.setConnection( txtHost->text(), txtPort->text(), txtDatabase->text(),
chkStoreUsername->isChecked() ? txtUsername->text() : "",
chkStorePassword->isChecked() ? txtPassword->text() : "",
txtUsername->text(), txtPassword->text(),
( QgsDataSourceURI::SSLmode ) cbxSSLmode->itemData( cbxSSLmode->currentIndex() ).toInt() );
QString conninfo = uri.connectionInfo();
QgsDebugMsg( "PQconnectdb(\"" + conninfo + "\");" );

0 comments on commit 53349fa

Please sign in to comment.