summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index ba17732..c5d0a5b 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -273,28 +273,28 @@ void VMemo::receive( const QCString &msg, const QByteArray &data ) {
273 startRecording(); 273 startRecording();
274 } 274 }
275 } 275 }
276} 276}
277 277
278void VMemo::paintEvent( QPaintEvent* ) { 278void VMemo::paintEvent( QPaintEvent* ) {
279 QPainter p(this); 279 QPainter p(this);
280 p.drawPixmap( 0, 1,( const char** ) vmemo_xpm ); 280 p.drawPixmap( 0, 1,( const char** ) vmemo_xpm );
281} 281}
282 282
283void VMemo::mousePressEvent( QMouseEvent * me) { 283void VMemo::mousePressEvent( QMouseEvent * me) {
284 // just to be safe 284 // just to be safe
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();