[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/khtml/misc
From: Maks Orlovich <maksim () kde ! org>
Date: 2010-03-13 17:02:34
Message-ID: 1268499754.298014.7408.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1102798 by orlovich:
#ifdef these again, so my console doesn't get ouf control with debug output..
M +6 -4 loader.cpp
--- trunk/KDE/kdelibs/khtml/misc/loader.cpp #1102797:1102798
@@ -657,17 +657,19 @@
void CachedImage::imageHasGeometry(khtmlImLoad::Image* /*img*/, int width, int height)
{
-
+#ifdef LOADER_DEBUG
kDebug(6060) << this << " got geometry "<< width << "x" << height;
+#endif
do_notify(QRect(0, 0, width, height));
}
void CachedImage::imageChange (khtmlImLoad::Image* /*img*/, QRect region)
{
-
+#ifdef LOADER_DEBUG
kDebug(6060) << "Image " << this << " change " <<
region.x() << "," << region.y() << ":" << region.width() << "x" << region.height() << endl;
+#endif
//### this is overly conservative -- I guess we need to also specify reason,
//e.g. repaint vs. changed !!!
@@ -693,9 +695,9 @@
void CachedImage::imageDone(khtmlImLoad::Image* /*img*/)
{
-//#ifdef LOADER_DEBUG
+#ifdef LOADER_DEBUG
kDebug(6060)<<"Image is done:" << this;
-//#endif
+#endif
m_status = Persistent;
m_loading = false;
doNotifyFinished();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic