Environment, expandVariables() can return native separators

Convert to '/' at the right place.
This commit is contained in:
dt_
2011-04-29 13:39:43 +02:00
parent 8304b96ae9
commit f6148f6d45
2 changed files with 2 additions and 2 deletions

View File

@@ -217,7 +217,7 @@ QString PathChooserPrivate::expandedPath(const QString &input) const
{
if (input.isEmpty())
return input;
const QString path = QDir::fromNativeSeparators(m_environment.expandVariables(input));
const QString path = QDir::cleanPath(m_environment.expandVariables(input));
if (path.isEmpty())
return path;