From kde-core-devel Fri Sep 28 06:40:55 2001 From: Werner Trobin Date: Fri, 28 Sep 2001 06:40:55 +0000 To: kde-core-devel Subject: Re: KURL::url X-MARC-Message: https://marc.info/?l=kde-core-devel&m=100165893606702 Charles Samuels wrote: > > I'de like to quickly propose a ... > > KURL::operator QString() const { return url(); } Please don't do that. This can lead to nasty bugs and strange behavior. Guess why the STL string template doesn't have an operator const char* , but rather the method c_str() ;) Just MHO, Werner