Fix display of some file paths on Windows

In particular, the "executable on host" field on RemoteLinux & friends
had the wrong separators.

Change-Id: Ic36d73e863c78dcefd5c670537dd7c86b081d173
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2020-04-24 13:01:20 +02:00
parent 92c7662acb
commit 2b6ce6cea5
2 changed files with 3 additions and 3 deletions

View File

@@ -178,12 +178,12 @@ void BaseStringAspect::toMap(QVariantMap &map) const
FilePath BaseStringAspect::filePath() const
{
return FilePath::fromString(d->m_value);
return FilePath::fromUserInput(d->m_value);
}
void BaseStringAspect::setFilePath(const FilePath &val)
{
setValue(val.toString());
setValue(val.toUserOutput());
}
void BaseStringAspect::setLabelText(const QString &labelText)