Merge pull request #583 from ccrook/delimited_text_bug_fixes_3

Fixed bug processing URL parameters
This commit is contained in:
Jürgen Fischer 2013-05-09 23:20:28 -07:00
commit 639c5823db

View File

@ -181,7 +181,7 @@ bool QgsDelimitedTextFile::setFromUrl( QUrl &url )
} }
if ( url.hasQueryItem( "skipEmptyFields" ) ) if ( url.hasQueryItem( "skipEmptyFields" ) )
{ {
mDiscardEmptyFields = ! url.queryItemValue( "useHeader" ).toUpper().startsWith( 'N' );; mDiscardEmptyFields = ! url.queryItemValue( "skipEmptyFields" ).toUpper().startsWith( 'N' );;
} }
if ( url.hasQueryItem( "trimFields" ) ) if ( url.hasQueryItem( "trimFields" ) )
{ {