Skip to content

Commit

Permalink
Allow connection with local ident on non-standard port
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Dec 3, 2012
1 parent 5f9c1dd commit fb51c27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/qgsdatasourceuri.cpp
Expand Up @@ -480,6 +480,10 @@ QString QgsDataSourceURI::connectionInfo() const
else if ( mHost != "" )
{
connectionItems << "host=" + mHost;
}

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

0 comments on commit fb51c27

Please sign in to comment.