mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 23:05:34 +08:00
Utility functions, status messages and model list
Ref T247 follow up
This commit is contained in:
committed by
Mat Sutcliffe
parent
5c870a8404
commit
fd1f6bcc84
@@ -742,7 +742,9 @@ namespace BlackMisc
|
||||
{
|
||||
if (!this->hasFileName()) { return false; }
|
||||
const QFileInfo fi(CFileUtils::fixWindowsUncPath(this->getFileName()));
|
||||
return (fi.exists() && fi.isReadable());
|
||||
if (!fi.exists()) { return false; }
|
||||
const bool r = fi.isReadable();
|
||||
return r;
|
||||
}
|
||||
|
||||
QDir CAircraftModel::getFileDirectory() const
|
||||
|
||||
Reference in New Issue
Block a user