AndroidManager::checkForQt51Files: Make parameter a Utils::FileName

Change-Id: I2944f6c36fee7b362ef7dbbf1053954c41607fe8
Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
BogDan Vatra
2014-06-24 16:47:10 +02:00
committed by Daniel Teske
parent 5211591e5a
commit c55d9a8e17
4 changed files with 4 additions and 5 deletions

View File

@@ -1305,9 +1305,8 @@ bool AndroidManager::checkCertificatePassword(const QString &keystorePath, const
return proc.exitCode() == 0;
}
bool AndroidManager::checkForQt51Files(const QString &projectDirectory)
bool AndroidManager::checkForQt51Files(Utils::FileName fileName)
{
Utils::FileName fileName = Utils::FileName::fromString(projectDirectory);
fileName.appendPath(QLatin1String("android")).appendPath(QLatin1String("version.xml"));
if (!fileName.toFileInfo().exists())
return false;