diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-27 03:18:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-27 03:18:43 +0000 |
commit | 378e17d1a37e7e4379b809a6ed7b7b3c76f3d5d3 (patch) | |
tree | 4cd18850bbeb9fd4a8a5aeb67ef33e80a3804c7d | |
parent | cb717a24c23f3776906b7555dc2e161d088bda8d (diff) | |
download | tdelibs-378e17d1a37e7e4379b809a6ed7b7b3c76f3d5d3.tar.gz tdelibs-378e17d1a37e7e4379b809a6ed7b7b3c76f3d5d3.zip |
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
-rw-r--r-- | khtml/rendering/render_replaced.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/khtml/rendering/render_replaced.cpp b/khtml/rendering/render_replaced.cpp index 80632cc81..01379930a 100644 --- a/khtml/rendering/render_replaced.cpp +++ b/khtml/rendering/render_replaced.cpp @@ -529,7 +529,8 @@ static void copyWidget(const TQRect& r, TQPainter *p, TQWidget *widget, int tx, if (!widget->childrenListObject().isEmpty()) { // build region - TQObjectListIterator it = widget->childrenListObject(); + TQObjectList childWidgets = widget->childrenListObject(); + TQObjectListIterator it(childWidgets); for (; it.current(); ++it) { TQWidget* const w = ::tqqt_cast<TQWidget *>(it.current()); if ( w && !w->isTopLevel() && !w->isHidden()) { |