Utils: Make FilePathAspect::value() return a QString

This is meant to be the "internal", raw, unexpanded value that does not
necessarily match a scheme://host/path pattern before expansion.

Change-Id: I627afbe1e9682d85c5bb04542c7354760ba9a13f
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
hjk
2023-07-18 09:14:47 +02:00
parent 0a37ff4149
commit 0f91561667
8 changed files with 12 additions and 17 deletions

View File

@@ -1319,17 +1319,12 @@ FilePath FilePathAspect::operator()() const
return FilePath::fromUserInput(StringAspect::value());
}
FilePath FilePathAspect::value() const
{
return FilePath::fromUserInput(StringAspect::value());
}
FilePath FilePathAspect::expandedValue() const
{
return FilePath::fromUserInput(StringAspect::value());
}
QString FilePathAspect::stringValue() const
QString FilePathAspect::value() const
{
return StringAspect::value();
}