Review Request 114716: Separate author name from email addres in KAboutData::processCommandLine

David Faure faure at kde.org
Sun Dec 29 09:15:03 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/114716/#review46352
-----------------------------------------------------------


The kde4 code (kcmdlineargs.cpp) was doing this:


           for (QList<KAboutPerson>::ConstIterator it = authors.begin(); it != authors.end(); ++it ) {
             QString email;
             if ( !(*it).emailAddress().isEmpty() )
               email = QString::fromLatin1(" <") + (*it).emailAddress() + QLatin1String(">");
             authorlist += QString::fromLatin1("    ") + (*it).name() + email + QLatin1Char('\n');
           }

Maybe the '<' and '>' should be re-added, and a space used instead of the tab?

- David Faure


On Dec. 29, 2013, 12:55 a.m., David Gil Oliva wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/114716/
> -----------------------------------------------------------
> 
> (Updated Dec. 29, 2013, 12:55 a.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kcoreaddons
> 
> 
> Description
> -------
> 
> Without this patch, the parsing of "kgeography --author" gives:
> 
> kgeography was written by:
>    Albert Astals Cidaacid at kde.org
> 
> With this patch:
> 
> kgeography was written by:
>    Albert Astals Cid    aacid at kde.org
> 
> 
> Diffs
> -----
> 
>   src/lib/kaboutdata.cpp 3f08f25 
> 
> Diff: https://git.reviewboard.kde.org/r/114716/diff/
> 
> 
> Testing
> -------
> 
> It builds.
> 
> 
> Thanks,
> 
> David Gil Oliva
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20131229/3f77bb9e/attachment.html>


More information about the Kde-frameworks-devel mailing list