Forgot to use the new safeRemove() function at some places

This commit is contained in:
Christophe Dumez
2010-07-25 15:26:27 +00:00
parent 159be479cc
commit ff08abe177
4 changed files with 13 additions and 13 deletions

View File

@@ -76,7 +76,7 @@ protected:
}
// Remove destination files
if(QFile::exists(geoipDBpath(false)))
QFile::remove(geoipDBpath(false));
misc::safeRemove(geoipDBpath(false));
// Copy from executable to hard disk
qDebug("%s -> %s", qPrintable(geoipDBpath(true)), qPrintable(geoipDBpath(false)));
if(!QFile::copy(geoipDBpath(true), geoipDBpath(false))) {