-rw-r--r-- | kabc/stdaddressbook.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/kabc/stdaddressbook.cpp b/kabc/stdaddressbook.cpp index 9f38f08..ec47a4e 100644 --- a/kabc/stdaddressbook.cpp +++ b/kabc/stdaddressbook.cpp @@ -54,29 +54,24 @@ QString StdAddressBook::directoryName() void StdAddressBook::handleCrash() { StdAddressBook::self()->cleanUp(); } StdAddressBook *StdAddressBook::self() { if ( !mSelf ) { QString appdir = StdAddressBook::setTempAppDir(); - qDebug("****************************************************** "); - qDebug("****************************************************** "); - qDebug("****************************************************** "); - qDebug("****************************************************** "); - qDebug("****************************************************** "); // US im am not sure why I have to use the other format here?? #ifdef KAB_EMBEDDED mSelf = addressBookDeleter.setObject( new StdAddressBook ); #else //KAB_EMBEDDED addressBookDeleter.setObject( mSelf, new StdAddressBook ); #endif //KAB_EMBEDDED KStandardDirs::setAppDir( appdir ); } return mSelf; } @@ -94,31 +89,24 @@ QString StdAddressBook::setTempAppDir() QString appdir = QDir::homeDirPath() + "/kdepim/apps/kaddressbook"; KStandardDirs::setAppDir( appdir ); #endif return appDIR; } StdAddressBook *StdAddressBook::self( bool onlyFastResources ) { if ( !mSelf ) { - qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ "); - qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ "); - qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ "); - qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ "); - qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ "); - qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ "); - qDebug("++++++++++++++++++++++++++++++++++++++++++++++++ "); QString appdir =StdAddressBook::setTempAppDir(); #ifdef KAB_EMBEDDED mSelf = addressBookDeleter.setObject( new StdAddressBook( onlyFastResources ) ); #else //KAB_EMBEDDED addressBookDeleter.setObject( mSelf, new StdAddressBook( onlyFastResources ) ); #endif //KAB_EMBEDDED KStandardDirs::setAppDir( appdir ); } return mSelf; } StdAddressBook::StdAddressBook() |