forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user