On Friday 25 March 2005 16:09, Phil Thompson wrote: > On Thursday 24 March 2005 7:05 pm, Simon Edwards wrote: > > Hi all, > > > > If I play this this code (see attachment) I quickly run up against a crash > > or the message "pure virtual method called" and then a crash. > > > > I'm overriding createView(), but my version should right now behave exactly > > the same as the KDE one. ideas? > This works fine for me using current snapshots.
I'm using SIP 4.0.1, PyQt-x11-gpl-3.12, PyKDE 3.11.1 (KDE 3.3 bindings). If I comment out the "if KFile.isDetailView(view) and not preview:" stuff in createView(), then I can't get it to crash. So for me it seems to be related to the self made KFileDetailView object... but I've been looking at the source for KDirOperator and my code should behave exactly the same as the 'real' implementation. :-/ The message about a "virtual function" or whatever is a bit disturbing. How can I go about debugging this? cheers, -- Simon Edwards | Guarddog Firewall [EMAIL PROTECTED] | http://www.simonzone.com/software/ Nijmegen, The Netherlands | "ZooTV? You made the right choice." _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde