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-ecb5cbfe19da
tags/v3.5.13
tpearson 8 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,

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()) {

Loading…
Cancel
Save