Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove unused variable
  • Loading branch information
nyalldawson committed Feb 2, 2018
1 parent 574020f commit 5ed624b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/gui/qgsnewvectorlayerdialog.cpp
Expand Up @@ -270,7 +270,6 @@ QString QgsNewVectorLayerDialog::runAndCreateLayer( QWidget *parent, QString *pE
geomDialog.attributes( attributes );

QgsSettings settings;
QString filterString = QgsVectorFileWriter::filterForDriver( fileformat );
QString fileName = geomDialog.filename();
if ( fileformat == QLatin1String( "ESRI Shapefile" ) && !fileName.endsWith( QLatin1String( ".shp" ), Qt::CaseInsensitive ) )
fileName += QLatin1String( ".shp" );
Expand Down

0 comments on commit 5ed624b

Please sign in to comment.