Remove "" from KStandardDirs

Albert Astals Cid aacid at kde.org
Sun Oct 5 23:21:29 BST 2008


A Diumenge 05 Octubre 2008, Tobias Koenig va escriure:
> On Sun, Oct 05, 2008 at 05:00:23PM +0200, Albert Astals Cid wrote:
> Hej,
>
> > Looking at the code seems correct. Testsuite is ok. Ok to commit?
> >
> > -            token = "";
> > +            token = QString();
>
> Why not token.clear()? At least that's what is recommended by krazy IIRC.

Commited.

clear is slower than = if you know token is not null.

Albert

>
> Ciao,
> Tobias






More information about the kde-core-devel mailing list