forked from qt-creator/qt-creator
More FileName::pathAppended()
Change-Id: Ie20ec34ea9712b3ec49e6233b23cef84c2019f03 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -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.";
|
||||
|
||||
Reference in New Issue
Block a user