Crash fix. Only access pointers used for threading when threading is on.
Crash fix. Only access pointers used for threading when threading is on.

svn path=/trunk/kdepim/; revision=241080

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi