summaryrefslogtreecommitdiffabout
path: root/libkdepim
Side-by-side diff
Diffstat (limited to 'libkdepim') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/addresseeview.cpp18
1 files changed, 11 insertions, 7 deletions
diff --git a/libkdepim/addresseeview.cpp b/libkdepim/addresseeview.cpp
index e9dc1e9..aa9b7f3 100644
--- a/libkdepim/addresseeview.cpp
+++ b/libkdepim/addresseeview.cpp
@@ -42,5 +42,5 @@
#endif
-int kphoneInstalled = 0;
+static int kphoneInstalled = 0;
using namespace KPIM;
@@ -87,10 +87,14 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr )
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;