[PATCH]: antialiasing for kled

David Faure faure at kde.org
Sun Apr 18 18:38:50 BST 2004


On Saturday 17 April 2004 20:22, Guillaume Laurent wrote:
> Hi,
> 
> I request permission to commit the attached patch on behalf of my 
> co-Rosegardener Chris Cannam. It simply adds antialiasing to kled, making it 
> look quite a bit better (see attached screenshot).

+    bool smooth = true;
+    if (smooth) {

Maybe this should be cleaned up if everyone agrees that the 'smooth' way is better?
Then "QPixmap* tmpMap" could be on the stack, scale could be always 3, etc.
I think the code is cleaner without such unused branches.

> -#include "kled.moc"
> +//#include "kled.moc"
Please revert that part.

-- 
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