mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-25 02:36:10 +03:00
Fix encoding problem in torrent moving code
This commit is contained in:
parent
e94769b58b
commit
d6997e7833
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue