mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 11:49:01 +03:00
Fix encoding problem in command line parameter processing
This commit is contained in:
parent
74fba0fb7e
commit
69661406a0
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ int main(int argc, char *argv[]){
|
|||
for (int a = 1; a < argc; ++a) {
|
||||
QString p = QString::fromLocal8Bit(argv[a]);
|
||||
if(p.startsWith("--")) continue;
|
||||
message += argv[a];
|
||||
message += QString::fromLocal8Bit(argv[a]);
|
||||
if (a < argc-1)
|
||||
message += "|";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue