summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-04-18 21:15:41 (UTC)
committer harlekin <harlekin>2003-04-18 21:15:41 (UTC)
commitc667951bfeaa17136bc828380e38062e150b2762 (patch) (side-by-side diff)
treef9f9e5c9dbad7a91977f78b3ad413e8d8266e523
parent486db3bff8680e22bade85c348a7673f847a6f37 (diff)
downloadopie-c667951bfeaa17136bc828380e38062e150b2762.zip
opie-c667951bfeaa17136bc828380e38062e150b2762.tar.gz
opie-c667951bfeaa17136bc828380e38062e150b2762.tar.bz2
removed exerimental stuff I accidently commited
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/launcher.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index 3eb561a..bcc2495 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -791,55 +791,55 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
for ( it.toFirst(); it.current(); ++it ) {
if ( (*it)->isRemovable() ) { // let's find out if we should search on it
Config cfg( (*it)->path() + "/.opiestorage.cf", Config::File);
cfg.setGroup("main");
QString stamp = cfg.readEntry("timestamp", QDateTime::currentDateTime().toString() );
/** This medium is uptodate
*/
if( stamp == m_timeStamp ){ // ok we know this card
cfg.writeEntry("timestamp", newStamp ); //just write a new timestamp
// we need to scan the list now. Hopefully the cache will be there
// read the mimetypes from the config and search for documents
QStringList mimetypes = configToMime( &cfg);
- qApp->processEvents();
+ //qApp->processEvents();
Global::statusMessage( tr( "Searching documents" ) );
tmp = new DocLnkSet( (*it)->path(), mimetypes.join(";") );
docsFolder->appendFrom( *tmp );
delete tmp;
}else{ // come up with the gui cause this a new card
MediumMountGui medium(&cfg, (*it)->path() );
if( medium.check() ){ // we did not ask before or ask again is off
/** c2) */
if( medium.exec() ){ // he clicked yes so search it
// speicher
//cfg.read(); // cause of a race we need to reread - fixed
cfg.setGroup("main");
cfg.writeEntry("timestamp", newStamp );
cfg.write();
- qApp->processEvents();
+ //qApp->processEvents();
tmp = new DocLnkSet( (*it)->path(), medium.mimeTypes().join(";" ) );
docsFolder->appendFrom( *tmp );
delete tmp;
}// no else
/** c1) */
}else{ // we checked
// do something different see what we need to do
// let's see if we should check the device
cfg.setGroup("main" );
bool check = cfg.readBoolEntry("autocheck", true );
if( check ){ // find the documents
- qApp->processEvents();
+ //qApp->processEvents();
Global::statusMessage( tr( "Searching documents" ) );
tmp = new DocLnkSet( (*it)->path(), configToMime(&cfg ).join(";") );
docsFolder->appendFrom( *tmp );
delete tmp;
}
}
}
}
}
m_timeStamp = newStamp;
owait->hide();
delete owait;