summaryrefslogtreecommitdiff
path: root/core/launcher/launcher.cpp
Side-by-side diff
Diffstat (limited to 'core/launcher/launcher.cpp') (more/less context) (ignore 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::
QListIterator<FileSystem> it ( fileSystems );
+
+
for ( ; it.current(); ++it ) {
@@ -575,3 +577,3 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
}else{ // come up with the gui cause this a new card
- MediumMountGui medium((*it)->path() );
+ MediumMountGui medium(&cfg, (*it)->path() );
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::
// speicher
- cfg.read(); // cause of a race we need to reread
+ //cfg.read(); // cause of a race we need to reread - fixed
cfg.writeEntry("timestamp", newStamp );
+ cfg.write();
+ tmp = new DocLnkSet( (*it)->path(), medium.mimeTypes().join(";" ) );
+ docsFolder->appendFrom( *tmp );
+ delete tmp;
}// no else