From be4ffa3495dce13eb2d45eb0c0b6b1986d7d6bd8 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Fri, 11 Oct 2024 07:33:48 +0200 Subject: [PATCH] ProjectExplorer: Remove outdated check Change-Id: Ic417c8d6d9bcaf6a1d5c82fc4cd8a6c6f4e5c903 Reviewed-by: hjk --- src/plugins/projectexplorer/projectnodes.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/projectexplorer/projectnodes.cpp b/src/plugins/projectexplorer/projectnodes.cpp index 61c24645d7a..2ac4859eabb 100644 --- a/src/plugins/projectexplorer/projectnodes.cpp +++ b/src/plugins/projectexplorer/projectnodes.cpp @@ -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());