summaryrefslogtreecommitdiffabout
path: root/kabc
Side-by-side diff
Diffstat (limited to 'kabc') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/stdaddressbook.cpp5
-rw-r--r--kabc/stdaddressbook.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/kabc/stdaddressbook.cpp b/kabc/stdaddressbook.cpp
index f17f366..a14ae20 100644
--- a/kabc/stdaddressbook.cpp
+++ b/kabc/stdaddressbook.cpp
@@ -114,5 +114,5 @@ StdAddressBook::StdAddressBook()
{
- init( false );
+ //init( false );
}
@@ -121,5 +121,6 @@ StdAddressBook::StdAddressBook( bool onlyFastResources )
{
- init( onlyFastResources );
+ if ( onlyFastResources )
+ init( onlyFastResources );
}
diff --git a/kabc/stdaddressbook.h b/kabc/stdaddressbook.h
index 9ec53b0..cf130b3 100644
--- a/kabc/stdaddressbook.h
+++ b/kabc/stdaddressbook.h
@@ -135,4 +135,5 @@ class StdAddressBook : public AddressBook
*/
void setWhoAmI( const Addressee &addr );
+ void init( bool onlyFastResources );
protected:
@@ -140,5 +141,4 @@ class StdAddressBook : public AddressBook
StdAddressBook( bool onlyFastResources );
- void init( bool onlyFastResources );
private: