Move it to appglobals.cpp
See Sam? That's what I was talking about in our PM conversation the other day...
sethjackson, Sam got it right: it's a global creation order problem.
But for heaven's sake don't move it to appglobals! :shock:
Just move it inside the function where it is used. IIRC it's only used in the constructor.