mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Ref T125, utility functions
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c6f3a7033d
commit
329b0512eb
@@ -119,7 +119,13 @@ namespace BlackMisc
|
||||
{
|
||||
const QString xp = xplaneRootDir();
|
||||
if (xp.isEmpty()) { return xp; }
|
||||
return CFileUtils::appendFilePaths(xp, "/Resources/plugins");
|
||||
return CFileUtils::appendFilePaths(xp, xplanePluginPath());
|
||||
}
|
||||
|
||||
QString CXPlaneUtil::xplanePluginPath()
|
||||
{
|
||||
static const QString p("/Resources/plugins");
|
||||
return p;
|
||||
}
|
||||
|
||||
bool CXPlaneUtil::isXplanePluginDirDirExisting()
|
||||
|
||||
Reference in New Issue
Block a user