summaryrefslogtreecommitdiff
authorzecke <zecke>2002-04-18 15:12:39 (UTC)
committer zecke <zecke>2002-04-18 15:12:39 (UTC)
commit800b7e7721bdb154abc5d8bf71297087224d04f1 (patch) (unidiff)
tree973744c7c9ad9ab189c7f945afd554dcbd15f40e
parent3e39f0951c44769c00918faefffca77823eb2e8a (diff)
downloadopie-800b7e7721bdb154abc5d8bf71297087224d04f1.zip
opie-800b7e7721bdb154abc5d8bf71297087224d04f1.tar.gz
opie-800b7e7721bdb154abc5d8bf71297087224d04f1.tar.bz2
Harlekin does this fix the problems?
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/launcher.cpp8
-rw-r--r--core/launcher/mediummountgui.cpp12
2 files changed, 8 insertions, 12 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index 979eee6..d1df4cc 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -88,19 +88,19 @@ namespace {
88 }else{ 88 }else{
89 tmpMime = cfg->readBoolEntry("audio", true ); 89 tmpMime = cfg->readBoolEntry("audio", true );
90 if(tmpMime ) 90 if(tmpMime )
91 mimes.append("audio//*" ); 91 mimes.append("audio/*" );
92 92
93 tmpMime = cfg->readBoolEntry("image", true ); 93 tmpMime = cfg->readBoolEntry("image", true );
94 if(tmpMime ) 94 if(tmpMime )
95 mimes.append("image//*" ); 95 mimes.append("image/*" );
96 96
97 tmpMime = cfg->readBoolEntry("text", true ); 97 tmpMime = cfg->readBoolEntry("text", true );
98 if(tmpMime ) 98 if(tmpMime )
99 mimes.append("text//*"); 99 mimes.append("text/*");
100 100
101 tmpMime = cfg->readBoolEntry("video", true ); 101 tmpMime = cfg->readBoolEntry("video", true );
102 if(tmpMime ) 102 if(tmpMime )
103 mimes.append("video//*" ); 103 mimes.append("video/*" );
104 } 104 }
105 return mimes; 105 return mimes;
106 } 106 }
diff --git a/core/launcher/mediummountgui.cpp b/core/launcher/mediummountgui.cpp
index f0de85b..e0acf4e 100644
--- a/core/launcher/mediummountgui.cpp
+++ b/core/launcher/mediummountgui.cpp
@@ -86,20 +86,16 @@ void MediumMountGui::writeConfig(bool autocheck) {
86 mimeTypeList += QString::null; 86 mimeTypeList += QString::null;
87 } else { 87 } else {
88 if (checkmimeaudio) { 88 if (checkmimeaudio) {
89 mimeTypeList += ("audio//*"); 89 mimeTypeList += ("audio/*");
90 } 90 }
91 if (checkmimetext) { 91 if (checkmimetext) {
92 mimeTypeList += ("text//*"); 92 mimeTypeList += ("text/*");
93 } 93 }
94 if (checkmimevideo) { 94 if (checkmimevideo) {
95 mimeTypeList += ("video//*"); 95 mimeTypeList += ("video/*");
96 } 96 }
97 if (checkmimeimage) { 97 if (checkmimeimage) {
98 mimeTypeList += ("image//*"); 98 mimeTypeList += ("image/*");
99 }
100 if (checkmimeall) {
101 mimeTypeList.clear();
102 mimeTypeList << QString::null;
103 } 99 }
104 } 100 }
105 cfg.write(); // not really needed here but just to be sure 101 cfg.write(); // not really needed here but just to be sure