Skip to content

Commit

Permalink
I'm eating too much Python (fix a Qt warning for missing arg)
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Aug 22, 2017
1 parent 384cabd commit ed42620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -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.