[Qt-interest] anyone know why QDir::mkpath() isn't static?

Thiago Macieira thiago at kde.org
Mon Apr 18 18:32:57 CEST 2011


On Monday, 18 de April de 2011 09:12:23 Alan Ezust wrote:
> I guess QUrl::toString() decode those escapes again, because I never
> actually see the %235 in the urls I've created, using either technique.
> But that must be what I was doing earlier to get this problem. thanks!

QUrl's constructor and toString are destructive. Do not use them.

Use QUrl::fromEncoded, fromLocalFile, toEncoded, etc.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110418/2576e345/attachment.bin 


More information about the Qt-interest-old mailing list