mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
static member QFileInfo::exists is not available on 4.8
This commit is contained in:
parent
4f7c062f3f
commit
51c617801d
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue