mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Fix encoding problem in torrent moving code
This commit is contained in:
@@ -474,7 +474,7 @@ void QTorrentHandle::move_storage(QString new_path) const {
|
||||
// or move_storage() will fail...
|
||||
QDir().mkpath(new_path);
|
||||
// Actually move the storage
|
||||
torrent_handle::move_storage(new_path.toLocal8Bit().constData());
|
||||
torrent_handle::move_storage(new_path.toUtf8().constData());
|
||||
}
|
||||
|
||||
bool QTorrentHandle::save_torrent_file(QString path) const {
|
||||
|
||||
Reference in New Issue
Block a user