-rw-r--r-- | core/applets/irdaapplet/irda.cpp | 8 | ||||
-rw-r--r-- | core/applets/irdaapplet/irda.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/core/applets/irdaapplet/irda.cpp b/core/applets/irdaapplet/irda.cpp index 03912aa..28a79d1 100644 --- a/core/applets/irdaapplet/irda.cpp +++ b/core/applets/irdaapplet/irda.cpp | |||
@@ -179,4 +179,4 @@ void IrdaApplet::mousePressEvent( QMouseEvent *) { | |||
179 | qWarning("Enable receive" ); | 179 | qWarning("Enable receive" ); |
180 | QCopEnvelope e("QPE/Obex", "receive(bool)" ); | 180 | QCopEnvelope e("QPE/Obex", "receive(int)" ); |
181 | e << true; | 181 | e << 1; |
182 | receiveActive = true; | 182 | receiveActive = true; |
@@ -188,4 +188,4 @@ void IrdaApplet::mousePressEvent( QMouseEvent *) { | |||
188 | qWarning("Disable receive" ); | 188 | qWarning("Disable receive" ); |
189 | QCopEnvelope e("QPE/Obex", "receive(bool)" ); | 189 | QCopEnvelope e("QPE/Obex", "receive(int)" ); |
190 | e << false; | 190 | e << 0; |
191 | receiveActive = false; | 191 | receiveActive = false; |
diff --git a/core/applets/irdaapplet/irda.h b/core/applets/irdaapplet/irda.h index 97ca3c3..002d295 100644 --- a/core/applets/irdaapplet/irda.h +++ b/core/applets/irdaapplet/irda.h | |||
@@ -53,3 +53,3 @@ private: | |||
53 | int irdaDiscoveryActive; | 53 | int irdaDiscoveryActive; |
54 | bool receiveActive; | 54 | bool receiveActive : 1; |
55 | bool receiveStateChanged; | 55 | bool receiveStateChanged; |