Initialize the addressbook instance outside the constructor, so it does not try…

Authored by krake on Dec 7 2008, 12:09 PM.

Description

Initialize the addressbook instance outside the constructor, so it does not try to load any resources. Resources might use nested event loops to simulate synchronous load and result in re-entry of ::self() causing multiple instance of a class supposed to be a singleton.

Backport of Revision 889879

svn path=/branches/KDE/4.1/kdepimlibs/; revision=893737

Details

Committed
krakeDec 7 2008, 12:09 PM
Parents
R172:e74cdccf954b: backport SVN commit 888995 by toma:
Branches
Unknown
Tags
Unknown