Skip to content
Permalink
Browse files

Remove unused variable

  • Loading branch information
nyalldawson committed Feb 2, 2018
1 parent 574020f commit 5ed624b5098273010e76ffcf69cdd2b2def46288
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/gui/qgsnewvectorlayerdialog.cpp
@@ -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" );

0 comments on commit 5ed624b

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