1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-09 05:14:23 +00:00

Show new paths in native form.

This commit is contained in:
sledgehammer999 2017-10-09 17:42:42 +03:00
parent 083bc71315
commit d93d0ab19e
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2

View File

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