mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Rename "fromNativePath" to "toUniformPath"
Unlike "toNativePath" which name clearly reflects the function result "fromNativePath" has no such clear meaning. Since this function converts path into uniform format "toUniformPath" is better name.
This commit is contained in:
@@ -373,7 +373,7 @@ void PluginSelectDialog::iconDownloadFinished(const Net::DownloadResult &result)
|
||||
return;
|
||||
}
|
||||
|
||||
const QString filePath = Utils::Fs::fromNativePath(result.filePath);
|
||||
const QString filePath = Utils::Fs::toUniformPath(result.filePath);
|
||||
|
||||
// Icon downloaded
|
||||
QIcon icon(filePath);
|
||||
|
||||
Reference in New Issue
Block a user