Fix encoding problem in torrent moving code

This commit is contained in:
Christophe Dumez
2011-01-28 17:08:56 +00:00
parent 9c633b0975
commit 54cd79201f
2 changed files with 2 additions and 1 deletions

View File

@@ -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 {