UI: Don't resolve control script's path.

This commit is contained in:
Nodir Temirkhodjaev 2018-08-24 16:55:49 +05:00
parent 985cdc34fd
commit 4b179268de

View File

@ -86,11 +86,8 @@ void FortSettings::processArguments(const QStringList &args)
FileUtil::absolutePath(m_statPath)); FileUtil::absolutePath(m_statPath));
} }
// Control QML file path // Control JS file path
m_controlPath = parser.value(controlOption); m_controlPath = parser.value(controlOption);
if (!m_controlPath.isEmpty()) {
m_controlPath = FileUtil::absolutePath(m_controlPath);
}
// Other Arguments // Other Arguments
m_args = parser.positionalArguments(); m_args = parser.positionalArguments();