KUrl or QUrl bug?

Ingo Klöcker kloecker at kde.org
Fri Jun 18 22:28:14 BST 2010

On Friday 18 June 2010, Sebastian Trüg wrote:
> On 06/18/2010 03:45 PM, David Faure wrote:
> > On Thursday 17 June 2010, Sebastian Trüg wrote:
> >> Hi guys,
> >> 
> >> please find attached a patch to the kurltest which will make it
> >> fail since an url on which you add a query item and then remove
> >> it are not equal anymore.
> > 
> > Yes, because "no query" isn't the same as "an empty query", IIRC.
> > So after removing the query, you have a url with "an empty query".
> > Did you try calling .url() on both urls? I suppose url3 will have a
> > trailing '?'.
> exactly. I just think it is unwanted behavior. What exactly is this
> good for? Who would ever want to have an empty query?

Who would ever want to remove a query item from a query? I assume you 
need this because otherwise you wouldn't have filed this bug report. But 
why exactly do you need this?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100618/10eb1bc1/attachment.sig>

More information about the kde-core-devel mailing list