DiveShare patch

Thiago Macieira thiago at macieira.org
Tue Oct 14 03:54:09 PDT 2014


On Tuesday 14 October 2014 10:22:04 Dirk Hohndel wrote:
> and it doesn't compile (toAscii() doesn't exist... did you mean toUtf8()?)

He probably developed it for Qt 4. For Qt 5, the toAscii() method is hidden 
behind an #ifdef for compatibility API -- the name "to ASCII" is a misnomer 
because it actually returns UTF-8, so we deprecated it.

So, yes, it should be toUtf8().

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358



More information about the subsurface mailing list