Ref T125, utility functions

This commit is contained in:
Klaus Basan
2017-08-15 02:17:42 +02:00
committed by Mathew Sutcliffe
parent c6f3a7033d
commit 329b0512eb
6 changed files with 32 additions and 2 deletions

View File

@@ -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()