Update qgsauxiliarystorage.cpp

This commit is contained in:
Alessandro Pasotti 2025-06-05 09:14:54 +02:00 committed by GitHub
parent bf245dce69
commit d2bd0bd8ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -635,7 +635,8 @@ QgsAuxiliaryStorage::QgsAuxiliaryStorage( const QString &filename, bool copy )
QgsAuxiliaryStorage::~QgsAuxiliaryStorage()
{
QFile::remove( mTmpFileName );
if ( QFile::exists( mTmpFileName ) )
QFile::remove( mTmpFileName );
}
bool QgsAuxiliaryStorage::isValid() const