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

List:       kde-commits
Subject:    kdelibs/khtml/java
From:       Koos Vriezen <koos.vriezen () xs4all ! nl>
Date:       2003-01-10 12:25:52
[Download RAW message or body]

CVS commit by vriezen: 

Failed applets are 'loaded' too


  M +2 -1      kjavaappletcontext.cpp   1.35


--- kdelibs/khtml/java/kjavaappletcontext.cpp  #1.34:1.35
@@ -237,4 +237,5 @@ void KJavaAppletContext::received( const
             */
             applet->setFailed();
+            emit appletLoaded();
         }
     }
@@ -245,5 +246,5 @@ bool KJavaAppletContext::appletsLoaded()
     for (; it != d->applets.end(); it++) {
         if (!(*it).isNull()) {
-            if (!(*it)->isAlive()) {
+            if (!(*it)->isAlive() && !(*it)->failed()) {
                 return false;
             }


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

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