author | llornkcor <llornkcor> | 2002-06-23 18:53:51 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-23 18:53:51 (UTC) |
commit | 616f8cef3111756cac0240be10aea38d4f38ad8e (patch) (side-by-side diff) | |
tree | 4d4e5adc2faf9d901b6a3204f3eefa9799eb6c97 | |
parent | a27191487361a43e3240a144176688c75e54b868 (diff) | |
download | opie-616f8cef3111756cac0240be10aea38d4f38ad8e.zip opie-616f8cef3111756cac0240be10aea38d4f38ad8e.tar.gz opie-616f8cef3111756cac0240be10aea38d4f38ad8e.tar.bz2 |
hide again, one more fix to go..
-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index 63ee0b8..84d53e0 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp @@ -235,4 +235,4 @@ VMemo::VMemo( QWidget *parent, const char *_name ) } - // if( vmCfg.readNumEntry("hideIcon",0) == 1 || toggleKey > 0) - // hide(); + if( vmCfg.readNumEntry("hideIcon",0) == 1 || toggleKey > 0) + hide(); } @@ -365,2 +365,3 @@ void VMemo::stopRecording() { if( msgLabel) delete msgLabel; + t_timer->stop(); } @@ -458,4 +459,7 @@ void VMemo::record(void) qDebug(msg); + Config config("Vmemo"); + config.setGroup("Record"); + int sRate=config.readNumEntry("SizeLimit", 30); - t_timer->start( 30 * 1000+1000, TRUE); + t_timer->start( sRate * 1000+1000, TRUE); @@ -474,3 +478,3 @@ void VMemo::record(void) result = read(dsp, sound, 512); // 8192 - int j=0; + // int j=0; @@ -500,3 +504,3 @@ void VMemo::record(void) result = read(dsp, sound, 512); // 8192 - int j=0; + // int j=0; @@ -529,3 +533,3 @@ void VMemo::record(void) - signed short sound[512], monoBuffer[512]; + signed short sound[512];//, monoBuffer[512]; |