mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Fix path separator in log messages
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user