More FileName::pathAppended()

Change-Id: Ie20ec34ea9712b3ec49e6233b23cef84c2019f03
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2019-05-17 13:28:38 +02:00
parent 7729c81f02
commit 0595e67c82
7 changed files with 17 additions and 20 deletions

View File

@@ -47,6 +47,7 @@
using namespace ProjectExplorer;
using namespace QtSupport;
using namespace Utils;
namespace {
@@ -232,8 +233,7 @@ QVector<CMakeToolChainData> extractToolChainsFromCache(const CMakeConfig &config
QList<void *> CMakeProjectImporter::examineDirectory(const Utils::FileName &importPath) const
{
qCInfo(cmInputLog()) << "Examining directory:" << importPath.toUserOutput();
Utils::FileName cacheFile = importPath;
cacheFile.appendPath("CMakeCache.txt");
const FileName cacheFile = importPath.pathAppended("CMakeCache.txt");
if (!cacheFile.exists()) {
qCDebug(cmInputLog()) << cacheFile.toUserOutput() << "does not exist, returning.";