summaryrefslogtreecommitdiff
authorzecke <zecke>2002-03-22 23:09:26 (UTC)
committer zecke <zecke>2002-03-22 23:09:26 (UTC)
commit5c17e8b168cf27ac2922e7c118cb886b116eab42 (patch) (side-by-side diff)
tree5ba4ad0f08f9e93c62b95545d97a462f6924e45c
parent232a5bed633ba2aa96fcab73ff991ab3a796ad76 (diff)
downloadopie-5c17e8b168cf27ac2922e7c118cb886b116eab42.zip
opie-5c17e8b168cf27ac2922e7c118cb886b116eab42.tar.gz
opie-5c17e8b168cf27ac2922e7c118cb886b116eab42.tar.bz2
make some people happy update
Diffstat (more/less context) (show 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
@@ -542,12 +542,13 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
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
@@ -97,12 +97,13 @@ void MediumMountGui::writeConfig(bool autocheck) {
mimeTypeList += ("image//*");
}
if (checkmimeall) {
mimeTypeList << ("null");
}
}
+ cfg.write();
}
void MediumMountGui::startGui() {
QPixmap image = Resource::loadPixmap( "HelpBrowser");
diff --git a/libopie/oconfig.h b/libopie/oconfig.h
index c97fb6a..f6227d1 100644
--- a/libopie/oconfig.h
+++ b/libopie/oconfig.h
@@ -38,11 +38,11 @@
class OConfig : public Config {
public:
OConfig( const QString &filename );
~OConfig();
QString fileName() const;
-
+ void read( ) { Config::read(); };
};
#endif