diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-02 02:23:08 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-02 02:23:08 +0000 |
commit | bfb063893534c33acd9abd340c80979205dc82f9 (patch) | |
tree | 75f450e2d7a85066bbff654b0a8f014e240197aa /khtml/khtml_part.cpp | |
parent | ccb3b5e486e55a0b014cbc3357c209c3d822ed47 (diff) | |
download | tdelibs-bfb063893534c33acd9abd340c80979205dc82f9.tar.gz tdelibs-bfb063893534c33acd9abd340c80979205dc82f9.zip |
[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
Diffstat (limited to 'khtml/khtml_part.cpp')
-rw-r--r-- | khtml/khtml_part.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/khtml/khtml_part.cpp b/khtml/khtml_part.cpp index ddd5cd25e..338b9605d 100644 --- a/khtml/khtml_part.cpp +++ b/khtml/khtml_part.cpp @@ -6871,7 +6871,7 @@ void KHTMLPart::slotActiveFrameChanged( KParts::Part *part ) return; } // kdDebug(6050) << "KHTMLPart::slotActiveFrameChanged d->m_activeFrame=" << d->m_activeFrame << endl; - if ( d->m_activeFrame && d->m_activeFrame->widget() && d->m_activeFrame->widget()->inherits( "TQFrame" ) ) + if ( d->m_activeFrame && d->m_activeFrame->widget() && d->m_activeFrame->widget()->inherits( "QFrame" ) ) { TQFrame *frame = static_cast<TQFrame *>( d->m_activeFrame->widget() ); if (frame->frameStyle() != TQFrame::NoFrame) @@ -6899,7 +6899,7 @@ void KHTMLPart::slotActiveFrameChanged( KParts::Part *part ) d->m_activeFrame = part; - if ( d->m_activeFrame && d->m_activeFrame->widget()->inherits( "TQFrame" ) ) + if ( d->m_activeFrame && d->m_activeFrame->widget()->inherits( "QFrame" ) ) { TQFrame *frame = static_cast<TQFrame *>( d->m_activeFrame->widget() ); if (frame->frameStyle() != TQFrame::NoFrame) |