I found this commit lying about in my branches (yes, somebody's been tidying up!)
Not sure if it fixes a crash or something, but looks useful.
I also found a small optimisation commit somewhere, which didn't find its way into master, so it's here
Small optimisation: if there's no dObject just return
use a BOOL to decide when the catalog is loaded.
Ensures that plugins do not try and write the catalog until it has been loaded
The plug-ins use QSLibrarian, so I'm worried about adding an iVar. I suppose adding it to the end is probably safe (vs. inserting it into the middle somewhere). Is that true?
If you feel really concerned about 32bit compatibility, put it in a static BOOL var. QSLibrarian is supposed to be a singleton, right ? ;-)
Hehe. You can tell that when I originally did this change (a year ago) I was concerned about 32bit compatibility (see the original commit here )
Now you can see I'm not ;-)
I'm happy to use a static as per 83fab29f70117f70d226ce8b3b02d97b32ecf9ea if it makes everyone happy.
OK, I had forgotten it only affected subclasses. So this should be fine. I'll test it out.