koffice/krita/ui

Cyrille Berger cyb at lepi.org
Fri Jul 11 18:03:16 CEST 2008


SVN commit 830986 by berger:

remove the deconnection of "sigLoadingFinished" in KisView, this allow to reload a new image inside a krita instance

But I have no idea why this was done in the first place, it was introduced in r607119 , but the message doesn't explain why it is needed (or if), would anyone knows ?

CCMAIL: kimageshop at kde.org

 M  +1 -1      kis_view2.cpp  


--- trunk/koffice/krita/ui/kis_view2.cpp #830985:830986
@@ -422,7 +422,7 @@
 
 void KisView2::slotLoadingFinished()
 {
-    disconnect(m_d->doc, SIGNAL(sigLoadingFinished()), this, SLOT(slotLoadingFinished()));
+//     disconnect(m_d->doc, SIGNAL(sigLoadingFinished()), this, SLOT(slotLoadingFinished())); // TODO why the deconnection ?
 
     KisImageSP img = image();
     slotSetImageSize( img->width(), img->height() );


More information about the kimageshop mailing list