forked from qt-creator/qt-creator
ProjectExplorer: Remove outdated check
Change-Id: Ic417c8d6d9bcaf6a1d5c82fc4cd8a6c6f4e5c903 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -359,7 +359,6 @@ FilePath Node::pathOrDirectory(bool dir) const
|
||||
location = FileUtils::commonPath(list);
|
||||
}
|
||||
|
||||
QTC_CHECK(!location.needsDevice());
|
||||
QFileInfo fi = location.toFileInfo();
|
||||
while ((!fi.exists() || !fi.isDir()) && !fi.isRoot() && (fi.fileName() != fi.absolutePath()))
|
||||
fi.setFile(fi.absolutePath());
|
||||
|
Reference in New Issue
Block a user