|
|
@ -679,7 +679,7 @@ bool CConfigFile::foundTemporaryFiles(const QString &directory) const
|
|
|
|
// directory doesn't exist
|
|
|
|
// directory doesn't exist
|
|
|
|
if (!dir.exists()) return false;
|
|
|
|
if (!dir.exists()) return false;
|
|
|
|
|
|
|
|
|
|
|
|
if (!dir.cd("data") && dir.exists()) return false;
|
|
|
|
if (!dir.cd("data")) return false;
|
|
|
|
|
|
|
|
|
|
|
|
QStringList filter;
|
|
|
|
QStringList filter;
|
|
|
|
filter << "*.string_cache";
|
|
|
|
filter << "*.string_cache";
|
|
|
@ -695,7 +695,7 @@ bool CConfigFile::foundTemporaryFiles(const QString &directory) const
|
|
|
|
if (!dir.entryList(filter, QDir::Files).isEmpty()) return true;
|
|
|
|
if (!dir.entryList(filter, QDir::Files).isEmpty()) return true;
|
|
|
|
|
|
|
|
|
|
|
|
// fonts directory is not needed anymore
|
|
|
|
// fonts directory is not needed anymore
|
|
|
|
if (dir.exists("fonts.bnp") && dir.cd("fonts") && dir.exists()) return true;
|
|
|
|
if (dir.exists("fonts.bnp") && !dir.cd("fonts")) return true;
|
|
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|