Diffstat (limited to 'core/applets/irdaapplet/irda.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/irdaapplet/irda.cpp | 8 |
1 files changed, 4 insertions, 4 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 | |||
@@ -176,19 +176,19 @@ void IrdaApplet::mousePressEvent( QMouseEvent *) { | |||
176 | timerEvent(NULL); // NULL is undefined in c++ use 0 or 0l | 176 | timerEvent(NULL); // NULL is undefined in c++ use 0 or 0l |
177 | break; | 177 | break; |
178 | case 4: { // enable receive | 178 | case 4: { // enable receive |
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; |
183 | receiveStateChanged = true; | 183 | receiveStateChanged = true; |
184 | timerEvent(NULL); | 184 | timerEvent(NULL); |
185 | break; | 185 | break; |
186 | } | 186 | } |
187 | case 5: { // disable receive | 187 | case 5: { // disable receive |
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; |
192 | receiveStateChanged = true; | 192 | receiveStateChanged = true; |
193 | timerEvent(NULL); | 193 | timerEvent(NULL); |
194 | break; | 194 | break; |