[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/khtml/misc
From:       Stephan Kulow <coolo () kde ! org>
Date:       2004-09-30 9:19:16
Message-ID: 20040930091916.0E62E126DA () office ! kde ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic