forked from qt-creator/qt-creator
Utils: Rename FilePath::rawFileName to rawFilePath
Change-Id: Idf8cad2b18087f511aa1efe54adbb5a427660016 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -312,17 +312,17 @@ void PathChooser::setEnvironment(const Environment &env)
|
||||
|
||||
QString PathChooser::rawPath() const
|
||||
{
|
||||
return rawFileName().toString();
|
||||
return rawFilePath().toString();
|
||||
}
|
||||
|
||||
FilePath PathChooser::rawFileName() const
|
||||
FilePath PathChooser::rawFilePath() const
|
||||
{
|
||||
return FilePath::fromString(QDir::fromNativeSeparators(d->m_lineEdit->text()));
|
||||
}
|
||||
|
||||
FilePath PathChooser::filePath() const
|
||||
{
|
||||
return FilePath::fromUserInput(d->expandedPath(rawFileName().toString()));
|
||||
return FilePath::fromUserInput(d->expandedPath(rawFilePath().toString()));
|
||||
}
|
||||
|
||||
// FIXME: try to remove again
|
||||
|
||||
Reference in New Issue
Block a user