Edwin Leuven a écrit :
Abdelrazak Younes wrote:
// more tricky?

QLyXKeySym.C:#include <Q3CString>

Maybe not.

the attached works for me
[...]
-       Q3CString tmpstr = codec->fromUnicode(str);
-       char const * tmpcstr = tmpstr;
+       char const * tmpcstr = codec->fromUnicode(str).data();

Maybe:
        return codec->fromUnicode(str)[0];

        return tmpcstr[0];
 }

This code does not seems very safe (no chech on str emptyness) and it would have be probably changed soon because of unicode work. But in the mean time I'd say put it in if it works...

Abdel.

Reply via email to