summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-09-19 15:35:19 (UTC)
committer llornkcor <llornkcor>2002-09-19 15:35:19 (UTC)
commit52fdd5cd164cf12d2a615d24497f8bb78491d0c2 (patch) (side-by-side diff)
treedd27262e5ada8ff41b2edffb052acd494d1dfa4f
parent477a620e5745bd30222fe72d9c9b842785c285ab (diff)
downloadopie-52fdd5cd164cf12d2a615d24497f8bb78491d0c2.zip
opie-52fdd5cd164cf12d2a615d24497f8bb78491d0c2.tar.gz
opie-52fdd5cd164cf12d2a615d24497f8bb78491d0c2.tar.bz2
fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index 4b398ad..2130438 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -273,33 +273,35 @@ void VMemo::receive( const QCString &msg, const QByteArray &data ) {
startRecording();
}
}
}
void VMemo::paintEvent( QPaintEvent* ) {
QPainter p(this);
p.drawPixmap( 0, 1,( const char** ) vmemo_xpm );
}
void VMemo::mousePressEvent( QMouseEvent * me) {
// just to be safe
- if (recording) {
+ if (recording) {
recording = FALSE;
return;
}
/* No mousePress/mouseRelease recording on the iPAQ. The REC button on the iPAQ calls these functions
mousePressEvent and mouseReleaseEvent with a NULL parameter. */
- if ( me->button() != LeftButton || me != NULL)
+ if ( me->button() != LeftButton && me != NULL /*&& !systemZaurus*/) {
+
// if (!systemZaurus && me != NULL)
return;
+ }
if(!recording)
startRecording();
else
stopRecording();
}
void VMemo::mouseReleaseEvent( QMouseEvent * ) {
// if(usingIcon && !recording)
// stopRecording();
}