summaryrefslogtreecommitdiff
path: root/noncore
authorharlekin <harlekin>2002-06-16 15:12:06 (UTC)
committer harlekin <harlekin>2002-06-16 15:12:06 (UTC)
commit47f58b07e3718500193262bf4a0a2d13c9b7d539 (patch) (side-by-side diff)
tree10a8cc4c29ad1e3b121c78034e83c6b111d46d92 /noncore
parentbec7383f8b00706eb5ad0eedb6fcb0e013041ad3 (diff)
downloadopie-47f58b07e3718500193262bf4a0a2d13c9b7d539.zip
opie-47f58b07e3718500193262bf4a0a2d13c9b7d539.tar.gz
opie-47f58b07e3718500193262bf4a0a2d13c9b7d539.tar.bz2
update
Diffstat (limited to 'noncore') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/applet/bluezapplet.cpp20
1 files changed, 7 insertions, 13 deletions
diff --git a/noncore/net/opietooth/applet/bluezapplet.cpp b/noncore/net/opietooth/applet/bluezapplet.cpp
index 6e5ee82..94e29c7 100644
--- a/noncore/net/opietooth/applet/bluezapplet.cpp
+++ b/noncore/net/opietooth/applet/bluezapplet.cpp
@@ -57,3 +57,4 @@ namespace OpieTooth {
startTimer(5000);
- timerEvent(NULL);
+ btDevice = 0;
+
}
@@ -79,4 +80,2 @@ namespace OpieTooth {
btDevice = new Device("/dev/ttySB0", "csr" );
- // system("hciattach /dev/ttySB0 csr");
- //system("hcid");
} else {
@@ -84,5 +83,4 @@ namespace OpieTooth {
delete btDevice;
+ btDevice = 0;
}
- //system("killall hciattach");
- //system("killall hcid");
}
@@ -124,3 +122,3 @@ namespace OpieTooth {
}
- //menu->insertItem( tr("More..."), 7 )
+
@@ -129,4 +127,2 @@ namespace OpieTooth {
- // qDebug("ret was %d\n", ret);
-
switch(ret) {
@@ -134,3 +130,2 @@ namespace OpieTooth {
setBluezStatus(0);
- timerEvent(NULL);
break;
@@ -138,3 +133,2 @@ namespace OpieTooth {
setBluezStatus(1);
- timerEvent(NULL);
break;
@@ -143,3 +137,2 @@ namespace OpieTooth {
launchManager();
- timerEvent(NULL);
break;
@@ -147,3 +140,2 @@ namespace OpieTooth {
setBluezDiscoveryStatus(0);
- timerEvent(NULL);
break;
@@ -151,3 +143,2 @@ namespace OpieTooth {
setBluezDiscoveryStatus(1);
- timerEvent(NULL);
break;
@@ -156,2 +147,5 @@ namespace OpieTooth {
}
+
+ timerEvent(NULL);
+ delete signal;
delete menu;