summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcher.cpp1
-rw-r--r--core/launcher/mediummountgui.cpp1
-rw-r--r--libopie/oconfig.h2
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
@@ -545,6 +545,7 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
if( medium.exec() ){ //ok
// speicher
qWarning("execed" );
+ cfg.read();
cfg.writeEntry("timestamp", newStamp );
}
}else{
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
@@ -100,6 +100,7 @@ void MediumMountGui::writeConfig(bool autocheck) {
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
@@ -41,7 +41,7 @@ class OConfig : public Config {
OConfig( const QString &filename );
~OConfig();
QString fileName() const;
-
+ void read( ) { Config::read(); };
};
#endif