From d6997e78336098223993090d9d10cd5760b535dc Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 28 Jan 2011 17:05:44 +0000 Subject: [PATCH] Fix encoding problem in torrent moving code --- src/qtlibtorrent/qtorrenthandle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {