Konqueror lineedit Bug

David Faure faure at kde.org
Mon Nov 19 22:19:47 GMT 2007


On Monday 19 November 2007, Rafael Fernández López wrote:
> Hi,
> 
> This is a very ugly hack that fixes the issue. I am completely sure there are 
> better and faster solutions.
> 
> I will try to fix this stuff in a much better way, if I find something, I will 
> tell you, if you do, please reply to this thread.

At least please set the font in the constructor, not in the paintEvent!
A very weird place for changing a widget's font, since setFont triggers a repaint...

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