Browse Source

Fix encoding problem in torrent moving code

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
d6997e7833
  1. 2
      src/qtlibtorrent/qtorrenthandle.cpp

2
src/qtlibtorrent/qtorrenthandle.cpp

@ -474,7 +474,7 @@ void QTorrentHandle::move_storage(QString new_path) const { @@ -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 {

Loading…
Cancel
Save