ProjectExplorer: Use FileName in WorkingDirectoryAspect

+ use native separators for user visible strings

Change-Id: Id6e4e27db369314f70e355a395cfddca12b8ea90
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-01-05 15:49:50 +02:00
committed by Orgad Shaneh
parent 44539772a3
commit cb501d4824
6 changed files with 35 additions and 26 deletions

View File

@@ -322,7 +322,12 @@ QString PathChooser::path() const
QString PathChooser::rawPath() const
{
return FileName::fromUserInput(QDir::fromNativeSeparators(d->m_lineEdit->text())).toString();
return rawFileName().toString();
}
FileName PathChooser::rawFileName() const
{
return FileName::fromUserInput(d->m_lineEdit->text());
}
FileName PathChooser::fileName() const