1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 23:07:59 +00:00

Merge pull request #7561 from sledgehammer999/native_path

Show new paths in native form.
This commit is contained in:
sledgehammer999 2017-10-09 18:09:55 +03:00 committed by GitHub
commit 27a7e86599

View File

@ -127,7 +127,7 @@ void FileSystemPathEdit::FileSystemPathEditPrivate::browseActionTriggered()
throw std::logic_error("Unknown FileSystemPathEdit mode");
}
if (!selectedPath.isEmpty())
q->setEditWidgetText(selectedPath);
q->setEditWidgetText(Utils::Fs::toNativePath(selectedPath));
}
QString FileSystemPathEdit::FileSystemPathEditPrivate::dialogCaptionOrDefault() const