summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/applet
authorharlekin <harlekin>2002-06-01 23:55:11 (UTC)
committer harlekin <harlekin>2002-06-01 23:55:11 (UTC)
commit34b68507898f2a01333281a7293d0bbd3c6d77ee (patch) (unidiff)
tree3a620603d62d9c6bc52c00bf08c3f207c7814763 /noncore/net/opietooth/applet
parent4f60b99a11c74a297c2471fd272735c9d8f9611f (diff)
downloadopie-34b68507898f2a01333281a7293d0bbd3c6d77ee.zip
opie-34b68507898f2a01333281a7293d0bbd3c6d77ee.tar.gz
opie-34b68507898f2a01333281a7293d0bbd3c6d77ee.tar.bz2
segfault fixed
Diffstat (limited to 'noncore/net/opietooth/applet') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/applet/bluezapplet.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/net/opietooth/applet/bluezapplet.cpp b/noncore/net/opietooth/applet/bluezapplet.cpp
index b662ff7..39a9c6e 100644
--- a/noncore/net/opietooth/applet/bluezapplet.cpp
+++ b/noncore/net/opietooth/applet/bluezapplet.cpp
@@ -64,4 +64,5 @@ namespace OpieTooth {
64 int BluezApplet::checkBluezStatus() { 64 int BluezApplet::checkBluezStatus() {
65 if (btDevice->isLoaded() ) { 65 if (btDevice) {
66 return 1; 66 if (btDevice->isLoaded() ) {
67 return 1;
67 } else { 68 } else {
@@ -69,2 +70,5 @@ namespace OpieTooth {
69 } 70 }
71 } else {
72 return 0;
73 }
70 } 74 }