diff --git a/Changelog b/Changelog index f06d2b531..3cf204bc8 100644 --- a/Changelog +++ b/Changelog @@ -2,6 +2,7 @@ - BUGFIX: Make sure the progress is not 100% unless the file is complete - BUGFIX: Fix memory leak in HTTP torrent downloader - BUGFIX: Use native file dialogs (by Vladimir Golovnev) + - BUGFIX: Fix encoding problem in torrent moving code (by Vladimir Golovnev) - BUGFIX: Performance improvement on ARM * Sun Jan 23 2011 - Christophe Dumez - v2.6.4 diff --git a/src/qtlibtorrent/qtorrenthandle.cpp b/src/qtlibtorrent/qtorrenthandle.cpp index 5abd8ffea..63699f566 100644 --- a/src/qtlibtorrent/qtorrenthandle.cpp +++ b/src/qtlibtorrent/qtorrenthandle.cpp @@ -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 {