mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 00:17:23 -06:00
Fix a lot of String encoding issues on non-unicode systems
Renaming a folder causes the old folder to be removed Fix some path separator issues on Win32 Fix file/folder opening in file browser on Win32
This commit is contained in:
@@ -264,7 +264,7 @@ void torrentCreatorThread::run() {
|
||||
// Set qBittorrent as creator and add user comment to
|
||||
// torrent_info structure
|
||||
t.set_creator(creator_str);
|
||||
t.set_comment((const char*)comment.toLocal8Bit());
|
||||
t.set_comment((const char*)comment.toUtf8());
|
||||
// Is private ?
|
||||
t.set_priv(is_private);
|
||||
if(abort) return;
|
||||
|
||||
Reference in New Issue
Block a user