forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
44539772a3
commit
cb501d4824
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user