-rw-r--r-- | core/launcher/launcher.cpp | 1 | ||||
-rw-r--r-- | core/launcher/mediummountgui.cpp | 1 | ||||
-rw-r--r-- | libopie/oconfig.h | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp index dcc3ba1..1c38a05 100644 --- a/core/launcher/launcher.cpp +++ b/core/launcher/launcher.cpp @@ -544,8 +544,9 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global:: qWarning("need to check this device" ); if( medium.exec() ){ //ok // speicher qWarning("execed" ); + cfg.read(); cfg.writeEntry("timestamp", newStamp ); } }else{ qWarning("wrong :(" ); diff --git a/core/launcher/mediummountgui.cpp b/core/launcher/mediummountgui.cpp index 5225711..e3fa5bd 100644 --- a/core/launcher/mediummountgui.cpp +++ b/core/launcher/mediummountgui.cpp @@ -99,8 +99,9 @@ void MediumMountGui::writeConfig(bool autocheck) { if (checkmimeall) { mimeTypeList << ("null"); } } + cfg.write(); } void MediumMountGui::startGui() { diff --git a/libopie/oconfig.h b/libopie/oconfig.h index c97fb6a..f6227d1 100644 --- a/libopie/oconfig.h +++ b/libopie/oconfig.h @@ -40,9 +40,9 @@ class OConfig : public Config { public: OConfig( const QString &filename ); ~OConfig(); QString fileName() const; - + void read( ) { Config::read(); }; }; #endif |