[Webkit-unassigned] [Bug 36373] [Qt] Don't construct a QLineEdit every time when painting a text field

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 21 16:09:17 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=36373





--- Comment #5 from Simon Hausmann <hausmann at webkit.org>  2010-03-21 16:09:17 PST ---
(In reply to comment #3)
> > Instead of creating a global QLineEdit that runs the risk of being destructed
> > after the QApplication destructor, how about assocating it with the
> > RenderTheme? Then it would be destroyed when the page dies.
> 
> With this patch, QLineEdit would not be destructed as such -
> DEFINE_STATIC_LOCAL allocates an object on the heap so the destructor would not
> be called at the exit.

True true, but that's evil, too, isn't it? :)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list