mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
Merge pull request #62000 from benoitdm-oslandia/fix/aux_storage_delete_file
fix(QgsAuxiliaryStorage): remove tmp file only if it exists
This commit is contained in:
commit
af9b53f7de
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user