mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Better fix for encoding issue
This commit is contained in:
parent
3d7bf26f85
commit
76a22fabcd
@ -178,7 +178,7 @@ int main(int argc, char *argv[]){
|
|||||||
for (int a = 1; a < argc; ++a) {
|
for (int a = 1; a < argc; ++a) {
|
||||||
QString p = QString::fromLocal8Bit(argv[a]);
|
QString p = QString::fromLocal8Bit(argv[a]);
|
||||||
if(p.startsWith("--")) continue;
|
if(p.startsWith("--")) continue;
|
||||||
message += QString::fromLocal8Bit(argv[a]);
|
message += p;
|
||||||
if (a < argc-1)
|
if (a < argc-1)
|
||||||
message += "|";
|
message += "|";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user