-rw-r--r-- | kabc/formatfactory.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kabc/formatfactory.cpp b/kabc/formatfactory.cpp index f107ebf..f2f03c6 100644 --- a/kabc/formatfactory.cpp +++ b/kabc/formatfactory.cpp | |||
@@ -29,26 +29,24 @@ | |||
29 | 29 | ||
30 | #include "vcardformatplugin.h" | 30 | #include "vcardformatplugin.h" |
31 | 31 | ||
32 | #include "formatfactory.h" | 32 | #include "formatfactory.h" |
33 | 33 | ||
34 | using namespace KABC; | 34 | using namespace KABC; |
35 | 35 | ||
36 | FormatFactory *FormatFactory::mSelf = 0; | 36 | FormatFactory *FormatFactory::mSelf = 0; |
37 | static KStaticDeleter<FormatFactory> factoryDeleter; | 37 | static KStaticDeleter<FormatFactory> factoryDeleter; |
38 | 38 | ||
39 | FormatFactory *FormatFactory::self() | 39 | FormatFactory *FormatFactory::self() |
40 | { | 40 | { |
41 | kdDebug(5700) << "FormatFactory::self()" << endl; | ||
42 | |||
43 | if ( !mSelf ) { | 41 | if ( !mSelf ) { |
44 | //US factoryDeleter.setObject( mSelf, new FormatFactory ); | 42 | //US factoryDeleter.setObject( mSelf, new FormatFactory ); |
45 | mSelf = factoryDeleter.setObject( new FormatFactory ); | 43 | mSelf = factoryDeleter.setObject( new FormatFactory ); |
46 | } | 44 | } |
47 | return mSelf; | 45 | return mSelf; |
48 | } | 46 | } |
49 | 47 | ||
50 | FormatFactory::FormatFactory() | 48 | FormatFactory::FormatFactory() |
51 | { | 49 | { |
52 | mFormatList.setAutoDelete( true ); | 50 | mFormatList.setAutoDelete( true ); |
53 | 51 | ||
54 | // dummy entry for default format | 52 | // dummy entry for default format |