ClearCase: Simplify isConfigured()

Make executable check inside ClearCaseSync::run()
consistent with isConfigured().

Change-Id: Idc08dcdf87005937b1299a0d033c4cf2503f63a4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Jarek Kobus
2022-08-03 06:19:44 +02:00
parent b84c22b2fd
commit 6129157f57
2 changed files with 2 additions and 3 deletions

View File

@@ -2398,8 +2398,7 @@ bool ClearCasePluginPrivate::isConfigured() const
if (m_fakeClearTool)
return true;
#endif
const FilePath &binary = m_settings.ccBinaryPath;
return !binary.isEmpty() && binary.exists() && binary.isFile() && binary.isExecutableFile();
return m_settings.ccBinaryPath.isExecutableFile();
}
bool ClearCasePluginPrivate::supportsOperation(Operation operation) const