[patch] Appwizard VCS extract method
Kris Wong
wongk at seapine.com
Fri Aug 29 11:53:00 UTC 2008
> > QString AppWizardPlugin::createProject(const ApplicationInfo& info)
> > {
> > QFileInfo templateInfo(info.appTemplate);
> > if (!templateInfo.exists())
> > - return "";
> > + return QString();
>
> This isn't really needed. QString() == "" in Qt4, unless you use
> QString::isNull() which is to be avoided by all means.
Is that true? I would bet that
return "";
Initializes heap space, while
return QString();
Does not.
Kris Wong
More information about the KDevelop-devel
mailing list