Browse Source

- Fix renaming of files with unicode characters

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
04b7af4df5
  1. 2
      src/qtorrenthandle.cpp

2
src/qtorrenthandle.cpp

@ -652,7 +652,7 @@ void QTorrentHandle::prioritize_first_last_piece(bool b) { @@ -652,7 +652,7 @@ void QTorrentHandle::prioritize_first_last_piece(bool b) {
}
void QTorrentHandle::rename_file(int index, QString name) {
h.rename_file(index, name.toStdString());
h.rename_file(index, std::string(name.toLocal8Bit().data()));
}
//

Loading…
Cancel
Save