Commit ec671290 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Use non-native separators internally

parent 10de74f9
......@@ -211,7 +211,7 @@ QString Environment::searchInPath(const QStringList &executables,
QFileInfo baseFi(exec);
if (baseFi.isAbsolute() && baseFi.exists())
return QDir::toNativeSeparators(exec);
return QDir::fromNativeSeparators(exec);
// Check in directories:
foreach (const QString &dir, additionalDirs) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment