Konqueror lineedit Bug

Fredrik Höglund fredrik at kde.org
Mon Nov 19 22:41:01 GMT 2007


On Monday 19 November 2007 23:19, David Faure wrote:
> 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...

Please don't touch this code!

I have a lot of changes in this file so you'll create a huge merge conflict
for me. And I really don't think the combo box should use the toolbar font
if it's smaller than the font used in other line edits / combo boxes.

Regards,
Fredrik





More information about the kde-core-devel mailing list