aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2025-09-17 12:15:24 +0200
committerEike Ziller <[email protected]>2025-09-17 11:51:57 +0000
commit3c65f8d554a40b976857d08603d3c905e11a3c83 (patch)
treea9839a22893e9af9f30b5474fe955c0a331432f0
parent6550577169725398b33c33fbb0f651a2ed127cd6 (diff)
FilePath: Fix build with older Qt versions
Amends 968135b74b660ac5849329c68276ded691c2f501 Change-Id: I7142799d71fb5602499ff8f9d384ab18888a00d5 Reviewed-by: Marcus Tillmanns <[email protected]>
-rw-r--r--src/libs/utils/filepath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/filepath.cpp b/src/libs/utils/filepath.cpp
index 1df6878e0b6..28030f1d55b 100644
--- a/src/libs/utils/filepath.cpp
+++ b/src/libs/utils/filepath.cpp
@@ -2497,7 +2497,7 @@ FilePath FilePath::resolveSymlinks() const
FilePath pathToTest = current.withNewPath("");
bool resolved = false;
for (const QStringView &path : components) {
- pathToTest = pathToTest / QString(path);
+ pathToTest = pathToTest / path.toString();
if (!resolved) {
const FilePath target = pathToTest.symLinkTarget();
if (!target.isEmpty()) {