From kde-commits Thu Sep 30 09:19:16 2004 From: Stephan Kulow Date: Thu, 30 Sep 2004 09:19:16 +0000 To: kde-commits Subject: kdelibs/khtml/misc Message-Id: <20040930091916.0E62E126DA () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=109653596200111 CVS commit by coolo: avoid "QPixmap: Invalid parameter". We rather wait for a bit more of the image M +1 -1 loader.cpp 1.174 --- kdelibs/khtml/misc/loader.cpp #1.173:1.174 @@ -587,5 +587,5 @@ const QPixmap &CachedImage::pixmap( ) co if(m) { - if(m->framePixmap().size() != m->getValidRect().size()) + if(m->framePixmap().size() != m->getValidRect().size() && m->getValidRect().isValid()) { // pixmap is not yet completely loaded, so we