KURL::setProtocol making URL always valid

Kevin Krammer kevin.krammer at gmx.at
Sat Oct 8 23:34:15 BST 2005

While working on the apidox of KURL I had a look at the setProtocol method.

Is it intentional that setting any string, even QString::null makes the KURL 

I am asking because this transforms an invalid URL into a valid one:
KURL url;


Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051009/cce6454f/attachment.sig>

More information about the kde-core-devel mailing list