Skip to content
Permalink
Browse files

I'm eating too much Python (fix a Qt warning for missing arg)

  • Loading branch information
elpaso committed Aug 22, 2017
1 parent 384cabd commit ed426204ca64b41e461514a5d1dfe1b1b4b84bb3
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/ogr/qgsogrprovider.cpp
@@ -4341,10 +4341,10 @@ QGISEXTERN bool deleteLayer( const QString &uri, QString &errCause )
errCause = QObject::tr( "Success" );
break;
}
errCause = QObject::tr( "GDAL result code: %s" ).arg( errCause );
errCause = QObject::tr( "GDAL result code: %1" ).arg( errCause );
return error == OGRERR_NONE;
}
// This should never happen:
errCause = QObject::tr( "Layer not found: %s" ).arg( uri );
errCause = QObject::tr( "Layer not found: %1" ).arg( uri );
return false;
}

0 comments on commit ed42620

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