mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 16:53:08 -07:00
Fix path separator in log messages
This commit is contained in:
parent
4ba6334506
commit
8b575484e6
2 changed files with 3 additions and 2 deletions
|
@ -400,7 +400,8 @@ void TransferListWidget::setSelectedTorrentsLocation()
|
|||
foreach (BitTorrent::TorrentHandle *const torrent, torrents) {
|
||||
Logger::instance()->addMessage(tr("Set location: moving \"%1\", from \"%2\" to \"%3\""
|
||||
, "Set location: moving \"ubuntu_16_04.iso\", from \"/home/dir1\" to \"/home/dir2\"")
|
||||
.arg(torrent->name(), torrent->savePath(), newLocation));
|
||||
.arg(torrent->name(), Utils::Fs::toNativePath(torrent->savePath())
|
||||
, Utils::Fs::toNativePath(newLocation)));
|
||||
torrent->move(Utils::Fs::expandPathAbs(newLocation));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue