[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdesdk/kstartperf
From:       André_Wöbbeking <Woebbeking () onlinehome ! de>
Date:       2006-10-01 13:02:14
Message-ID: 200610011502.14656.Woebbeking () onlinehome ! de
[Download RAW message or body]

On Saturday 30 September 2006 23:09, Thomas Häber wrote:
> SVN commit 590792 by haeber:
>
> replaced assignment to QString::null with preferred QString() (EBN)
>
>  M  +1 -1      kstartperf.cpp
>
>
> --- trunk/KDE/kdesdk/kstartperf/kstartperf.cpp #590791:590792
> @@ -35,7 +35,7 @@
>
>  QString libkstartperf()
>  {
> -    QString lib = QString::null;
> +    QString lib = QString();

This is superfluous. Just QString lib; is enough.

BTW, I'm not really sure whether QString() is so much better than 
QString::null.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic