[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/khtml
From: Waldo Bastian <bastian () kde ! org>
Date: 2004-07-28 15:17:20
Message-ID: 20040728151720.3929FDA7 () office ! kde ! org
[Download RAW message or body]
CVS commit by waba:
Fix logic in KHTMLPart::checkFrameAccess
M +4 -4 khtml_part.cpp 1.1014
--- kdelibs/khtml/khtml_part.cpp #1.1013:1.1014
@@ -4538,9 +4538,9 @@ bool KHTMLPart::checkFrameAccess(KHTMLPa
return true; // trivial
- if (!htmlDocument().isNull()) {
+ if (htmlDocument().isNull()) {
#ifdef DEBUG_FINDFRAME
- kdDebug(6050) << "KHTMLPart::checkFrameAccess: Empty part " << this << endl;
+ kdDebug(6050) << "KHTMLPart::checkFrameAccess: Empty part " << this << " URL = " << m_url << endl;
#endif
- return true; // we are empty?
+ return false; // we are empty?
}
@@ -4684,5 +4684,5 @@ khtml::ChildFrame *KHTMLPart::recursiveF
void KHTMLPart::saveState( QDataStream &stream )
{
- kdDebug( 6050 ) << "KHTMLPart::saveState saving URL " << m_url.url() << endl;
+ kdDebug( 6050 ) << "KHTMLPart::saveState this = " << this << " saving URL " << m_url.url() << endl;
stream << m_url << (Q_INT32)d->m_view->contentsX() << (Q_INT32)d->m_view->contentsY()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic