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

List:       kde-commits
Subject:    branches/KDE/4.0/kdegraphics/okular/core
From:       Pino Toscano <toscano.pino () tiscali ! it>
Date:       2008-02-01 0:46:47
Message-ID: 1201826807.130293.2088.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 769282 by pino:

instead of assert()'ing, just acts like a Document and delete the pixmap request


 M  +3 -1      generator.cpp  


--- branches/KDE/4.0/kdegraphics/okular/core/generator.cpp #769281:769282
@@ -318,7 +318,9 @@
     if ( d->m_document )
         d->m_document->requestDone( request );
     else
-        Q_ASSERT( !"No document set for generator in signalPixmapRequestDone!" );
+    {
+        delete request;
+    }
 }
 
 const Document * Generator::document() const
[prev in list] [next in list] [prev in thread] [next in thread] 

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