Skip to content
Permalink
Browse files

Tidying if block

  • Loading branch information
ccrook authored and nyalldawson committed Jul 18, 2018
1 parent 7beb368 commit f068924233ba23bb09a74f31de0f2700c9519749
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/providers/delimitedtext/qgsdelimitedtextsourceselect.cpp
@@ -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" ) );

0 comments on commit f068924

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