-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 @@ -540,16 +540,17 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global:: qWarning("time stamp doesn't match" ); MediumMountGui medium((*it)->path() ); qWarning("medium mount gui created" ); if( medium.check() ){ qWarning("need to check this device" ); if( medium.exec() ){ //ok // speicher qWarning("execed" ); + cfg.read(); cfg.writeEntry("timestamp", newStamp ); } }else{ qWarning("wrong :(" ); // do something different see what we need to do } } } 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 @@ -95,16 +95,17 @@ void MediumMountGui::writeConfig(bool autocheck) { } if (checkmimeimage) { mimeTypeList += ("image//*"); } if (checkmimeall) { mimeTypeList << ("null"); } } + cfg.write(); } void MediumMountGui::startGui() { QPixmap image = Resource::loadPixmap( "HelpBrowser"); Text_2 = new QLabel( this ); Text_2->setGeometry( QRect( 10, 15, 40, 40 ) ); diff --git a/libopie/oconfig.h b/libopie/oconfig.h index c97fb6a..f6227d1 100644 --- a/libopie/oconfig.h +++ b/libopie/oconfig.h @@ -36,13 +36,13 @@ * which file to use. */ class OConfig : public Config { public: OConfig( const QString &filename ); ~OConfig(); QString fileName() const; - + void read( ) { Config::read(); }; }; #endif |