Utils: Add FilePathAspect::setValue

Phasing out StringPathAspect::setFilePath

Change-Id: If74d6b521ce6d558da83ab526057b32e8c37c243
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
hjk
2023-06-29 16:38:49 +02:00
parent b63d362180
commit 72f269bf6a
2 changed files with 6 additions and 0 deletions

View File

@@ -1332,6 +1332,11 @@ FilePathAspect::FilePathAspect(AspectContainer *container)
setDisplayStyle(PathChooserDisplay);
}
void FilePathAspect::setValue(const FilePath &filePath)
{
StringAspect::setValue(filePath.toUserOutput());
}
/*!
\class Utils::ColorAspect
\inmodule QtCreator