summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-09-20 14:39:04 (UTC)
committer llornkcor <llornkcor>2002-09-20 14:39:04 (UTC)
commit504e00e215999d5aea32781c9f3067682e255e7c (patch) (unidiff)
treed3bca71a65bb2f8f0068e520d8cd1b239b2e52f6
parentba0e9195f95ecb65216851b9b74fd776d307adc3 (diff)
downloadopie-504e00e215999d5aea32781c9f3067682e255e7c.zip
opie-504e00e215999d5aea32781c9f3067682e255e7c.tar.gz
opie-504e00e215999d5aea32781c9f3067682e255e7c.tar.bz2
remove keyPress with null param check
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index 2130438..ba17732 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -285,17 +285,17 @@ void VMemo::mousePressEvent( QMouseEvent * me) {
285 if (recording) { 285 if (recording) {
286 recording = FALSE; 286 recording = FALSE;
287 return; 287 return;
288 } 288 }
289 /* No mousePress/mouseRelease recording on the iPAQ. The REC button on the iPAQ calls these functions 289 /* No mousePress/mouseRelease recording on the iPAQ. The REC button on the iPAQ calls these functions
290 mousePressEvent and mouseReleaseEvent with a NULL parameter. */ 290 mousePressEvent and mouseReleaseEvent with a NULL parameter. */
291 if ( me->button() != LeftButton && me != NULL /*&& !systemZaurus*/) { 291// if ( me->button() != LeftButton && me != NULL /*&& !systemZaurus*/) {
292 292
293 // if (!systemZaurus && me != NULL) 293 // if (!systemZaurus && me != NULL)
294 return; 294// return;
295 } 295// }
296 296
297 if(!recording) 297 if(!recording)
298 startRecording(); 298 startRecording();
299 else 299 else
300 stopRecording(); 300 stopRecording();
301} 301}