forked from qt-creator/qt-creator
Some more FileName::appendPath() -> pathAppended() changes
Change-Id: Ie494f7ae8a96d97c9497b3ef38d774d2cf787b7f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -653,8 +653,7 @@ void DebuggerItemManagerPrivate::autoDetectCdbDebuggers()
|
||||
// Pre Windows SDK 8: Check 'Debugging Tools for Windows'
|
||||
for (const QFileInfo &fi : dir.entryInfoList({"Debugging Tools for Windows*"},
|
||||
QDir::Dirs | QDir::NoDotAndDotDot)) {
|
||||
FileName filePath = FileName::fromFileInfo(fi);
|
||||
filePath.appendPath("cdb.exe");
|
||||
const FileName filePath = FileName::fromFileInfo(fi).pathAppended("cdb.exe");
|
||||
if (!cdbs.contains(filePath))
|
||||
cdbs.append(filePath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user