Skip to content
Permalink
Browse files
Allow connection with local ident on non-standard port
  • Loading branch information
mhugent committed Dec 3, 2012
1 parent 5f9c1dd commit fb51c27
Showing 1 changed file with 4 additions and 0 deletions.
@@ -480,6 +480,10 @@ QString QgsDataSourceURI::connectionInfo() const
else if ( mHost != "" )
{
connectionItems << "host=" + mHost;
}

if ( mService.isEmpty() )
{
if ( mPort != "" )
connectionItems << "port=" + mPort;
}

0 comments on commit fb51c27

Please sign in to comment.