summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/applet/bluezapplet.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/applet/bluezapplet.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/applet/bluezapplet.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/noncore/net/opietooth/applet/bluezapplet.cpp b/noncore/net/opietooth/applet/bluezapplet.cpp
index 8bb7a93..c0ad246 100644
--- a/noncore/net/opietooth/applet/bluezapplet.cpp
+++ b/noncore/net/opietooth/applet/bluezapplet.cpp
@@ -58,2 +58,4 @@ namespace OpieTooth {
btDevice = 0;
+ bluezactive = false;
+ bluezDiscoveryActive = false;
@@ -102,3 +104,3 @@ namespace OpieTooth {
/* Refresh active state */
- timerEvent(NULL);
+ timerEvent( 0 );
@@ -130,3 +132,3 @@ namespace OpieTooth {
setBluezStatus(0);
- timerEvent(NULL);
+ timerEvent( 0 );
break;
@@ -134,3 +136,3 @@ namespace OpieTooth {
setBluezStatus(1);
- timerEvent(NULL);
+ timerEvent( 0 );
break;
@@ -139,3 +141,3 @@ namespace OpieTooth {
launchManager();
- timerEvent(NULL);
+ timerEvent( 0 );
break;
@@ -143,3 +145,3 @@ namespace OpieTooth {
setBluezDiscoveryStatus(0);
- timerEvent(NULL);
+ timerEvent( 0 );
break;
@@ -147,3 +149,3 @@ namespace OpieTooth {
setBluezDiscoveryStatus(1);
- timerEvent(NULL);
+ timerEvent(0 );
break;
@@ -153,3 +155,2 @@ namespace OpieTooth {
- timerEvent(NULL);
delete signal;
@@ -179,3 +180,3 @@ namespace OpieTooth {
if ((bluezactive != oldactive) || (bluezDiscoveryActive != olddiscovery)) {
- paintEvent(NULL);
+ update();
}
@@ -191,4 +192,2 @@ namespace OpieTooth {
- p.eraseRect ( 0, 0, this->width(), this->height() );
-
if (bluezactive > 0) {