static member QFileInfo::exists is not available on 4.8

This commit is contained in:
Roeland Jago Douma 2015-02-27 08:43:33 +01:00
parent 4f7c062f3f
commit 51c617801d

View file

@ -284,7 +284,8 @@ bool FileSystem::fileExists(const QString& filename)
return fileExistsWin(filename);
}
#endif
return QFileInfo::exists(filename);
QFileInfo file(filename);
return file.exists();
}
bool FileSystem::fileExists(const QFileInfo& fi)