Fix KHTML multi-line textboxes rendering incorrectly

This closes Bug 558


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1260925 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent cb717a24c2
commit 378e17d1a3

@ -529,7 +529,8 @@ static void copyWidget(const TQRect& r, TQPainter *p, TQWidget *widget, int tx,
if (!widget->childrenListObject().isEmpty()) { if (!widget->childrenListObject().isEmpty()) {
// build region // build region
TQObjectListIterator it = widget->childrenListObject(); TQObjectList childWidgets = widget->childrenListObject();
TQObjectListIterator it(childWidgets);
for (; it.current(); ++it) { for (; it.current(); ++it) {
TQWidget* const w = ::tqqt_cast<TQWidget *>(it.current()); TQWidget* const w = ::tqqt_cast<TQWidget *>(it.current());
if ( w && !w->isTopLevel() && !w->isHidden()) { if ( w && !w->isTopLevel() && !w->isHidden()) {

Loading…
Cancel
Save