Skip to content
Permalink
Browse files

fix query item removal

  • Loading branch information
jef-n committed Jun 10, 2012
1 parent d4256fe commit ef60f812e314765e0c109fedf6105dcb8d36ceee
Showing with 3 additions and 5 deletions.
  1. +3 −5 src/gui/qgsnewhttpconnection.cpp
@@ -113,13 +113,11 @@ void QgsNewHttpConnection::accept()

if ( params["SERVICE"].second.toUpper() == "WMS" )
{
params.remove( "SERVICE" );
params.remove( "REQUEST" );
params.remove( "FORMAT" );
url.removeEncodedQueryItem( params["SERVICE"].first );
url.removeEncodedQueryItem( params["REQUEST"].first );
url.removeEncodedQueryItem( params["FORMAT"].first );
}

url.setEncodedQueryItems( params.values() );

settings.setValue( key + "/url", url.toString() );
if ( mBaseKey == "/Qgis/connections-wms/" )
{

0 comments on commit ef60f81

Please sign in to comment.
You can’t perform that action at this time.