Patch for kaboutapplication

David Faure faure at kde.org
Sun Dec 26 23:52:49 GMT 2004


On Monday 27 December 2004 00:11, Albert Astals Cid wrote:
> +    if (!aboutData->bugAddress().isEmpty())

Ok with me, but I would always show something, even if bugAddress is empty,
so I would suggest
 if ( aboutData->bugAddress().isEmpty() || aboutData->bugAddress() == "submit at bugs.kde.org")

Not that it should ever happen, but the code reads strange if there's a code 
path where nothing is printed.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list