Browse Source

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-ecb5cbfe19
tpearson 7 years ago
parent
commit
378e17d1a3
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      khtml/rendering/render_replaced.cpp

+ 2
- 1
khtml/rendering/render_replaced.cpp View File

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

Loading…
Cancel
Save