Diffstat (limited to 'noncore/net/opietooth/applet/bluezapplet.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/applet/bluezapplet.cpp | 4 |
1 files changed, 4 insertions, 0 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 | |||
@@ -63,4 +63,5 @@ namespace OpieTooth { | |||
63 | 63 | ||
64 | int BluezApplet::checkBluezStatus() { | 64 | int BluezApplet::checkBluezStatus() { |
65 | if (btDevice) { | ||
65 | if (btDevice->isLoaded() ) { | 66 | if (btDevice->isLoaded() ) { |
66 | return 1; | 67 | return 1; |
@@ -68,4 +69,7 @@ namespace OpieTooth { | |||
68 | return 0; | 69 | return 0; |
69 | } | 70 | } |
71 | } else { | ||
72 | return 0; | ||
73 | } | ||
70 | } | 74 | } |
71 | 75 | ||