mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
- Fix renaming of files with unicode characters
This commit is contained in:
@@ -652,7 +652,7 @@ void QTorrentHandle::prioritize_first_last_piece(bool b) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void QTorrentHandle::rename_file(int index, QString name) {
|
void QTorrentHandle::rename_file(int index, QString name) {
|
||||||
h.rename_file(index, name.toStdString());
|
h.rename_file(index, std::string(name.toLocal8Bit().data()));
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user