Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tidying if block
  • Loading branch information
ccrook authored and nyalldawson committed Jul 19, 2018
1 parent 7beb368 commit f068924
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/providers/delimitedtext/qgsdelimitedtextsourceselect.cpp
Expand Up @@ -194,7 +194,11 @@ void QgsDelimitedTextSourceSelect::addButtonClicked()

}

if ( ! geomTypeNone->isChecked() ) url.addQueryItem( QStringLiteral( "spatialIndex" ), cbxSpatialIndex->isChecked() ? QStringLiteral( "yes" ) : QStringLiteral( "no" ) );
if ( ! geomTypeNone->isChecked() )
{
url.addQueryItem( QStringLiteral( "spatialIndex" ), cbxSpatialIndex->isChecked() ? QStringLiteral( "yes" ) : QStringLiteral( "no" ) );
}

url.addQueryItem( QStringLiteral( "subsetIndex" ), cbxSubsetIndex->isChecked() ? QStringLiteral( "yes" ) : QStringLiteral( "no" ) );
url.addQueryItem( QStringLiteral( "watchFile" ), cbxWatchFile->isChecked() ? QStringLiteral( "yes" ) : QStringLiteral( "no" ) );

Expand Down

0 comments on commit f068924

Please sign in to comment.