summaryrefslogtreecommitdiff
path: root/core/launcher/launcher.cpp
Unidiff
Diffstat (limited to 'core/launcher/launcher.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/launcher.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index d1df4cc..f9c6c02 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -559,2 +559,4 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
559 QListIterator<FileSystem> it ( fileSystems ); 559 QListIterator<FileSystem> it ( fileSystems );
560
561
560 for ( ; it.current(); ++it ) { 562 for ( ; it.current(); ++it ) {
@@ -575,3 +577,3 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
575 }else{ // come up with the gui cause this a new card 577 }else{ // come up with the gui cause this a new card
576 MediumMountGui medium((*it)->path() ); 578 MediumMountGui medium(&cfg, (*it)->path() );
577 if( medium.check() ){ // we did not ask before or ask again is off 579 if( medium.check() ){ // we did not ask before or ask again is off
@@ -579,4 +581,8 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
579 // speicher 581 // speicher
580 cfg.read(); // cause of a race we need to reread 582 //cfg.read(); // cause of a race we need to reread - fixed
581 cfg.writeEntry("timestamp", newStamp ); 583 cfg.writeEntry("timestamp", newStamp );
584 cfg.write();
585 tmp = new DocLnkSet( (*it)->path(), medium.mimeTypes().join(";" ) );
586 docsFolder->appendFrom( *tmp );
587 delete tmp;
582 }// no else 588 }// no else