From 69661406a07502e9d51374d3ce2ba5e95ee401f4 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 27 Sep 2010 17:17:22 +0000 Subject: [PATCH] Fix encoding problem in command line parameter processing --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 194191e18..412e05207 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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 += "|"; }