Commit a3e05c37 authored by Milian Wolff's avatar Milian Wolff
Browse files

Use QDir::isRelativePath.

No need to get the other QFileInfo stuff loaded here.
parent 6cce95e7
...@@ -689,7 +689,7 @@ PathResolutionResult MakeFileResolver::processOutput(const QString& fullOutput, ...@@ -689,7 +689,7 @@ PathResolutionResult MakeFileResolver::processOutput(const QString& fullOutput,
path = path.mid(1, path.length() - 2); path = path.mid(1, path.length() - 2);
} }
} }
if (QFileInfo(path).isRelative()) if (QDir::isRelativePath(path))
path = workingDirectory + '/' + path; path = workingDirectory + '/' + path;
ret.paths << internPath(path); ret.paths << internPath(path);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment