-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index e6c4ff9..4d4d598 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp @@ -231,50 +231,50 @@ void VMemo::receive( const QCString &msg, const QByteArray &data ) mouseReleaseEvent(NULL); else mousePressEvent(NULL); } } 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) { 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 (!systemZaurus && me != NULL) -// return; + if (!systemZaurus && me != NULL) + return; // Config config( "Sound" ); // config.setGroup( "System" ); // useAlerts = config.readBoolEntry("Alert"); // if(useAlerts) { // if( QMessageBox::warning(this,"VMemo","Really Record?","Yes","No",0,0,1) ==1) // return; // } else { QSound::play(Resource::findSound("vmemob")); // } qDebug("Start recording"); recording = TRUE; if (openDSP() == -1) { QMessageBox::critical(0, "VMemo", "Could not open dsp device.", "Abort"); recording = FALSE; return; } Config vmCfg("VMemo"); vmCfg.setGroup("Defaults"); QDateTime dt = QDateTime::currentDateTime(); QString fileName; |