forked from qt-creator/qt-creator
More FileName::appendPath() -> .pathAppended()
Change-Id: I403d34e4f52f758339c158efc7a11fd329e3e043 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -190,8 +190,7 @@ QVariantMap CMakeTool::toMap() const
|
||||
Utils::FileName CMakeTool::cmakeExecutable() const
|
||||
{
|
||||
if (Utils::HostOsInfo::isMacHost() && m_executable.endsWith(".app")) {
|
||||
Utils::FileName toTest = m_executable;
|
||||
toTest = toTest.appendPath("Contents/bin/cmake");
|
||||
const Utils::FileName toTest = m_executable.pathAppended("Contents/bin/cmake");
|
||||
if (toTest.exists())
|
||||
return toTest;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user