mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 09:55:55 +00:00
Fix encoding problem in torrent moving code
This commit is contained in:
parent
e94769b58b
commit
d6997e7833
@ -474,7 +474,7 @@ void QTorrentHandle::move_storage(QString new_path) const {
|
|||||||
// or move_storage() will fail...
|
// or move_storage() will fail...
|
||||||
QDir().mkpath(new_path);
|
QDir().mkpath(new_path);
|
||||||
// Actually move the storage
|
// 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 {
|
bool QTorrentHandle::save_torrent_file(QString path) const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user