mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Fix encoding problem in torrent moving code
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
- BUGFIX: Make sure the progress is not 100% unless the file is complete
|
- BUGFIX: Make sure the progress is not 100% unless the file is complete
|
||||||
- BUGFIX: Fix memory leak in HTTP torrent downloader
|
- BUGFIX: Fix memory leak in HTTP torrent downloader
|
||||||
- BUGFIX: Use native file dialogs (by Vladimir Golovnev)
|
- BUGFIX: Use native file dialogs (by Vladimir Golovnev)
|
||||||
|
- BUGFIX: Fix encoding problem in torrent moving code (by Vladimir Golovnev)
|
||||||
- BUGFIX: Performance improvement on ARM
|
- BUGFIX: Performance improvement on ARM
|
||||||
|
|
||||||
* Sun Jan 23 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.6.4
|
* Sun Jan 23 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.6.4
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user