QUrl Weirdness
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Thu Dec 16 10:24:47 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello
I could reproduce this problem. It is because QDir::slashify() adds
rootDirPath() when '/' is found at the beginning of the string. This is
wrong and I've removed this. But this change will maybe break other
functions in qdir_win.cpp which assumes that slashify() adds
rootDirPath. Those functions must add this by their own.
Christian
Mohammad Zubair schrieb:
| Hi,
|
| When I tried using QUrl to set a URL, say
| http://www.mydomain.com/pathto/myfile.gif , QUrl::path() returns
| c:/pathto/myfile.gif instead of just /pathto/myfile.gif
|
| This don't seem to be so for the trolltech's version of QT. is this a bug?
|
| Thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBwVRfnNKwkgf+zVMRAoBkAJ9cRavk1mtb3L9xctOXOUN2rkD/mQCdGZIP
Hq4MPpJ9M30NB4RW9Sxbu2Q=
=oemM
-----END PGP SIGNATURE-----
More information about the kde-cygwin
mailing list