mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
- Fix renaming of files with unicode characters
This commit is contained in:
parent
8c6978be82
commit
04b7af4df5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue