The 'new document' crash

Boudewijn Rempt boud at valdyas.org
Mon Aug 23 10:49:47 CEST 2004


On Monday 23 August 2004 09:50, Boudewijn Rempt wrote:

> Note that I'm right now removing the KisView::activeView static: every
> filter already knows its current view, because it is created from that
> view. That's one of the problems with the registry. There's one central
> registry singleton, but the kparts system recreates the filters every view
> anyway. So what you is probably either a registry per view. Anyway, the
> class was misnamed, because it didn't create anything, so it wasn't a
> factory. _______________________________________________

Checked in: I don't think having static object grabbers for any class that's 
not a singleton is a bad idea. (I don't like singletons all that much: 
they're likely to lead to really entangled code.)


More information about the kimageshop mailing list