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 fb51c27862b798d83949cb6c180100dcf8785c45
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/qgsdatasourceuri.cpp
@@ -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.