-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 | |||
@@ -542,12 +542,13 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global:: | |||
542 | qWarning("medium mount gui created" ); | 542 | qWarning("medium mount gui created" ); |
543 | if( medium.check() ){ | 543 | if( medium.check() ){ |
544 | qWarning("need to check this device" ); | 544 | qWarning("need to check this device" ); |
545 | if( medium.exec() ){ //ok | 545 | if( medium.exec() ){ //ok |
546 | // speicher | 546 | // speicher |
547 | qWarning("execed" ); | 547 | qWarning("execed" ); |
548 | cfg.read(); | ||
548 | cfg.writeEntry("timestamp", newStamp ); | 549 | cfg.writeEntry("timestamp", newStamp ); |
549 | } | 550 | } |
550 | }else{ | 551 | }else{ |
551 | qWarning("wrong :(" ); | 552 | qWarning("wrong :(" ); |
552 | // do something different see what we need to do | 553 | // do something different see what we need to do |
553 | } | 554 | } |
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) { | |||
97 | mimeTypeList += ("image//*"); | 97 | mimeTypeList += ("image//*"); |
98 | } | 98 | } |
99 | if (checkmimeall) { | 99 | if (checkmimeall) { |
100 | mimeTypeList << ("null"); | 100 | mimeTypeList << ("null"); |
101 | } | 101 | } |
102 | } | 102 | } |
103 | cfg.write(); | ||
103 | } | 104 | } |
104 | 105 | ||
105 | void MediumMountGui::startGui() { | 106 | void MediumMountGui::startGui() { |
106 | 107 | ||
107 | QPixmap image = Resource::loadPixmap( "HelpBrowser"); | 108 | QPixmap image = Resource::loadPixmap( "HelpBrowser"); |
108 | 109 | ||
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 @@ | |||
38 | 38 | ||
39 | class OConfig : public Config { | 39 | class OConfig : public Config { |
40 | public: | 40 | public: |
41 | OConfig( const QString &filename ); | 41 | OConfig( const QString &filename ); |
42 | ~OConfig(); | 42 | ~OConfig(); |
43 | QString fileName() const; | 43 | QString fileName() const; |
44 | 44 | void read( ) { Config::read(); }; | |
45 | }; | 45 | }; |
46 | 46 | ||
47 | #endif | 47 | #endif |
48 | 48 | ||