Allow connection with local ident on non-standard port

This commit is contained in:
Marco Hugentobler 2012-12-03 22:12:34 +01:00
parent 5f9c1ddea6
commit fb51c27862

View File

@ -480,6 +480,10 @@ QString QgsDataSourceURI::connectionInfo() const
else if ( mHost != "" )
{
connectionItems << "host=" + mHost;
}
if ( mService.isEmpty() )
{
if ( mPort != "" )
connectionItems << "port=" + mPort;
}