mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Merge pull request #7561 from sledgehammer999/native_path
Show new paths in native form.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user