Skip to content

Commit f068924

Browse files
ccrooknyalldawson
authored andcommitted
Tidying if block
1 parent 7beb368 commit f068924

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/providers/delimitedtext/qgsdelimitedtextsourceselect.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,11 @@ void QgsDelimitedTextSourceSelect::addButtonClicked()
194194

195195
}
196196

197-
if ( ! geomTypeNone->isChecked() ) url.addQueryItem( QStringLiteral( "spatialIndex" ), cbxSpatialIndex->isChecked() ? QStringLiteral( "yes" ) : QStringLiteral( "no" ) );
197+
if ( ! geomTypeNone->isChecked() )
198+
{
199+
url.addQueryItem( QStringLiteral( "spatialIndex" ), cbxSpatialIndex->isChecked() ? QStringLiteral( "yes" ) : QStringLiteral( "no" ) );
200+
}
201+
198202
url.addQueryItem( QStringLiteral( "subsetIndex" ), cbxSubsetIndex->isChecked() ? QStringLiteral( "yes" ) : QStringLiteral( "no" ) );
199203
url.addQueryItem( QStringLiteral( "watchFile" ), cbxWatchFile->isChecked() ? QStringLiteral( "yes" ) : QStringLiteral( "no" ) );
200204

0 commit comments

Comments
 (0)