mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Minor adjustments
* ignore empty root dir * check for empty context
This commit is contained in:
committed by
Mathew Sutcliffe
parent
5789120ecc
commit
227190ab42
@@ -104,6 +104,7 @@ namespace BlackMisc
|
||||
|
||||
QStringList CXPlaneUtil::xplaneModelDirectories()
|
||||
{
|
||||
if (xplaneRootDir().isEmpty()) { return QStringList(); }
|
||||
return QStringList({ xplaneRootDir() });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user