Explorar el Código

Fix issue 164: toc header is ASCII only

Antialize hace 15 años
padre
commit
ff2b5fe84c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();