summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-03-27 05:29:36 (UTC)
committer llornkcor <llornkcor>2002-03-27 05:29:36 (UTC)
commit347240bf66daf78f6a0e7c98bc32a53810f710a9 (patch) (unidiff)
tree8b638f2e12cb32b8bdbe329aa2a1d03635105329
parent531e1365f5ae7ffcbfc9c9ebe92274282358025e (diff)
downloadopie-347240bf66daf78f6a0e7c98bc32a53810f710a9.zip
opie-347240bf66daf78f6a0e7c98bc32a53810f710a9.tar.gz
opie-347240bf66daf78f6a0e7c98bc32a53810f710a9.tar.bz2
forgot to uncomment ipaq code again
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp4
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
@@ -239,34 +239,34 @@ void VMemo::paintEvent( QPaintEvent* )
239 QPainter p(this); 239 QPainter p(this);
240 p.drawPixmap( 0, 1,( const char** ) vmemo_xpm ); 240 p.drawPixmap( 0, 1,( const char** ) vmemo_xpm );
241} 241}
242 242
243void VMemo::mousePressEvent( QMouseEvent *me ) 243void VMemo::mousePressEvent( QMouseEvent *me )
244{ 244{
245 // just to be safe 245 // just to be safe
246 if (recording) { 246 if (recording) {
247 recording = FALSE; 247 recording = FALSE;
248 return; 248 return;
249 } 249 }
250 250
251 /* 251 /*
252 No mousePress/mouseRelease recording on the iPAQ. The REC button on the iPAQ calls these functions 252 No mousePress/mouseRelease recording on the iPAQ. The REC button on the iPAQ calls these functions
253 mousePressEvent and mouseReleaseEvent with a NULL parameter. 253 mousePressEvent and mouseReleaseEvent with a NULL parameter.
254 */ 254 */
255// if (!systemZaurus && me != NULL) 255 if (!systemZaurus && me != NULL)
256// return; 256 return;
257 257
258// Config config( "Sound" ); 258// Config config( "Sound" );
259// config.setGroup( "System" ); 259// config.setGroup( "System" );
260// useAlerts = config.readBoolEntry("Alert"); 260// useAlerts = config.readBoolEntry("Alert");
261 261
262// if(useAlerts) { 262// if(useAlerts) {
263// if( QMessageBox::warning(this,"VMemo","Really Record?","Yes","No",0,0,1) ==1) 263// if( QMessageBox::warning(this,"VMemo","Really Record?","Yes","No",0,0,1) ==1)
264// return; 264// return;
265// } else { 265// } else {
266 QSound::play(Resource::findSound("vmemob")); 266 QSound::play(Resource::findSound("vmemob"));
267// } 267// }
268 qDebug("Start recording"); 268 qDebug("Start recording");
269 recording = TRUE; 269 recording = TRUE;
270 if (openDSP() == -1) { 270 if (openDSP() == -1) {
271 QMessageBox::critical(0, "VMemo", "Could not open dsp device.", "Abort"); 271 QMessageBox::critical(0, "VMemo", "Could not open dsp device.", "Abort");
272 recording = FALSE; 272 recording = FALSE;