From dc4632b03f9e4108f3e2ae8b5f7ff43c7c2208bb Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 24 Jul 2004 21:31:41 +0000 Subject: Bugfix for:Added connection to kphone, if kphone is available --- (limited to 'libkdepim/addresseeview.cpp') diff --git a/libkdepim/addresseeview.cpp b/libkdepim/addresseeview.cpp index e9dc1e9..aa9b7f3 100644 --- a/libkdepim/addresseeview.cpp +++ b/libkdepim/addresseeview.cpp @@ -41,7 +41,7 @@ #include #endif -int kphoneInstalled = 0; +static int kphoneInstalled = 0; using namespace KPIM; @@ -86,12 +86,16 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr ) kphoneInstalled = 1; else kphoneInstalled = -1; - } else { - if ( kphoneInstalled > 0 ) - kphoneAvail = true; - } - //if ( kphoneAvail ) - // qDebug("KPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPone avail "); + } + if ( kphoneInstalled > 0 ) + kphoneAvail = true; +#if 0 + if ( kphoneAvail ) + qDebug("KPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPone avail "); + else + qDebug("NOOOOOOOOOOOo KPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPone avail "); +#endif + #endif mAddressee = addr; // clear view -- cgit v0.9.0.2