author | zautrix <zautrix> | 2004-07-24 21:31:41 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-24 21:31:41 (UTC) |
commit | dc4632b03f9e4108f3e2ae8b5f7ff43c7c2208bb (patch) (side-by-side diff) | |
tree | be38db1fa6d1bead40f2e51a3a598916382795d2 | |
parent | f0d0803312ea5607d9ba85454d39787ab626b86e (diff) | |
download | kdepimpi-dc4632b03f9e4108f3e2ae8b5f7ff43c7c2208bb.zip kdepimpi-dc4632b03f9e4108f3e2ae8b5f7ff43c7c2208bb.tar.gz kdepimpi-dc4632b03f9e4108f3e2ae8b5f7ff43c7c2208bb.tar.bz2 |
Bugfix for:Added connection to kphone, if kphone is available
-rw-r--r-- | libkdepim/addresseeview.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/libkdepim/addresseeview.cpp b/libkdepim/addresseeview.cpp index e9dc1e9..aa9b7f3 100644 --- a/libkdepim/addresseeview.cpp +++ b/libkdepim/addresseeview.cpp @@ -43,3 +43,3 @@ -int kphoneInstalled = 0; +static int kphoneInstalled = 0; @@ -88,8 +88,12 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr ) kphoneInstalled = -1; - } else { + } if ( kphoneInstalled > 0 ) kphoneAvail = true; - } - //if ( kphoneAvail ) - // qDebug("KPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPone avail "); +#if 0 + if ( kphoneAvail ) + qDebug("KPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPone avail "); + else + qDebug("NOOOOOOOOOOOo KPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPone avail "); +#endif + #endif |