author | zecke <zecke> | 2003-11-30 13:23:51 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-11-30 13:23:51 (UTC) |
commit | 16756af1bf59a8c59b16c852e311316aacd3351f (patch) (side-by-side diff) | |
tree | fb173ed7bdca4a1691ce5ed31bebf436624f74b1 | |
parent | 8339a705567a3bd50af2e41805e9256973eedcc4 (diff) | |
download | opie-16756af1bf59a8c59b16c852e311316aacd3351f.zip opie-16756af1bf59a8c59b16c852e311316aacd3351f.tar.gz opie-16756af1bf59a8c59b16c852e311316aacd3351f.tar.bz2 |
Allow to process mouse and key events during document scanning...
I use 20 as a value for now... someone tuned it but forgot to commit it?!
-rw-r--r-- | core/launcher/documentlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/documentlist.cpp b/core/launcher/documentlist.cpp index 1a7de33..ece6931 100644 --- a/core/launcher/documentlist.cpp +++ b/core/launcher/documentlist.cpp @@ -122,49 +122,49 @@ DocumentList::~DocumentList() void DocumentList::add( const DocLnk& doc ) { if ( d->serverGui && QFile::exists( doc.file() ) ) d->serverGui->documentAdded( doc ); } void DocumentList::start() { resume(); } void DocumentList::pause() { //qDebug("pause %i", d->tid); killTimer( d->tid ); d->tid = 0; } void DocumentList::resume() { if ( d->tid == 0 ) { - d->tid = startTimer( 0 ); + d->tid = startTimer( 20 ); //qDebug("resumed %i", d->tid); } } /* void DocumentList::resend() { // Re-emits all the added items to the list (firstly letting everyone know to // clear what they have as it is being sent again) pause(); emit allRemoved(); QTimer::singleShot( 5, this, SLOT( resendWorker() ) ); } void DocumentList::resendWorker() { const QList<DocLnk> &list = d->dls.children(); for ( QListIterator<DocLnk> it( list ); it.current(); ++it ) add( *(*it) ); resume(); } */ |