On quarta-feira, 31 de julho de 2013 19:24:28, Scott Aron Bloom wrote:
> QByteArray data = fi.readLine()
> QString contents = QString::fromLocal8Bit( currData )
> setPlainText( contents )
> 
> Would the other setCodec functions be better ?

You shouldn't set any codec for the above. It's working already.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to