From bfb063893534c33acd9abd340c80979205dc82f9 Mon Sep 17 00:00:00 2001 From: tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> Date: Sat, 2 Oct 2010 02:23:08 +0000 Subject: [CRITICAL] Repair borken rendering due to incorrect inherited object logic git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1181768 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khtml/rendering/render_frames.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'khtml/rendering/render_frames.cpp') diff --git a/khtml/rendering/render_frames.cpp b/khtml/rendering/render_frames.cpp index 8f072dda6..3d06b7e6d 100644 --- a/khtml/rendering/render_frames.cpp +++ b/khtml/rendering/render_frames.cpp @@ -674,7 +674,7 @@ RenderFrame::RenderFrame( DOM::HTMLFrameElementImpl *frame ) void RenderFrame::slotViewCleared() { - if(m_widget->inherits("TQScrollView")) { + if(m_widget->inherits("QScrollView")) { #ifdef DEBUG_LAYOUT kdDebug(6031) << "frame is a scrollview!" << endl; #endif @@ -989,7 +989,7 @@ void RenderPartObject::layout( ) void RenderPartObject::slotViewCleared() { - if(m_widget->inherits("TQScrollView") ) { + if(m_widget->inherits("QScrollView") ) { #ifdef DEBUG_LAYOUT kdDebug(6031) << "iframe is a scrollview!" << endl; #endif -- cgit v1.2.1