Skip to content
Permalink
Browse files

Remove unused code

  • Loading branch information
DelazJ committed Nov 18, 2017
1 parent c2a940a commit 7aab0c75227d53515a58a8bbb739c882651c0d49
Showing with 0 additions and 10 deletions.
  1. +0 −10 src/plugins/geometry_checker/qgsgeometrycheckersetuptab.cpp
@@ -210,16 +210,6 @@ void QgsGeometryCheckerSetupTab::validateInput()

void QgsGeometryCheckerSetupTab::selectOutputDirectory()
{
QString filterString = QgsVectorFileWriter::filterForDriver( QStringLiteral( "GPKG" ) );
const auto filterFormatMap = QgsVectorFileWriter::supportedFiltersAndFormats( QgsVectorFileWriter::SortRecommended | QgsVectorFileWriter::SkipNonSpatialFormats );
for ( const QgsVectorFileWriter::FilterFormatDetails &filter : filterFormatMap )
{
QString driverName = filter.driverName;
if ( driverName != QLatin1String( "ESRI Shapefile" ) ) // Default entry, first in list (see above)
{
filterString += ";;" + filter.filterString;
}
}
QString initialdir = ui.lineEditOutputDirectory->text();
if ( initialdir.isEmpty() || !QDir( initialdir ).exists() )
{

0 comments on commit 7aab0c7

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