refs #209, fileExists method (remote enabled)

This commit is contained in:
Klaus Basan
2014-04-16 23:41:35 +02:00
parent 3c42a91596
commit 7930560be6
4 changed files with 18 additions and 0 deletions

View File

@@ -99,4 +99,13 @@ namespace BlackCore
return QFile::remove(fileName);
}
/*
* Check file
*/
bool CContextApplication::existsFile(const QString &fileName)
{
if (fileName.isEmpty()) return false;
return QFile::exists(fileName);
}
} // namespace