Browse Source

Fix issue 164: toc header is ASCII only

Antialize 15 years ago
parent
commit
ff2b5fe84c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/arguments.cc

+ 1 - 1
src/arguments.cc

@@ -245,7 +245,7 @@ typedef SomeSetter<StrTM> StrSetter;
 struct QStrTM: public SomeSetterTM<QString> {
 	static QString strToT(const char * val, bool & ok) {
 		ok=true;
-		return QString(val);
+		return QString::fromLocal8Bit(val);
 	}
 	static QString TToStr(QString t, bool & ok) {
 		ok=!t.isEmpty();