summaryrefslogtreecommitdiff
authorzecke <zecke>2002-04-18 15:12:39 (UTC)
committer zecke <zecke>2002-04-18 15:12:39 (UTC)
commit800b7e7721bdb154abc5d8bf71297087224d04f1 (patch) (side-by-side diff)
tree973744c7c9ad9ab189c7f945afd554dcbd15f40e
parent3e39f0951c44769c00918faefffca77823eb2e8a (diff)
downloadopie-800b7e7721bdb154abc5d8bf71297087224d04f1.zip
opie-800b7e7721bdb154abc5d8bf71297087224d04f1.tar.gz
opie-800b7e7721bdb154abc5d8bf71297087224d04f1.tar.bz2
Harlekin does this fix the problems?
Diffstat (more/less context) (ignore 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
@@ -87,21 +87,21 @@ namespace {
return mimes;
}else{
tmpMime = cfg->readBoolEntry("audio", true );
if(tmpMime )
- mimes.append("audio//*" );
+ mimes.append("audio/*" );
tmpMime = cfg->readBoolEntry("image", true );
if(tmpMime )
- mimes.append("image//*" );
+ mimes.append("image/*" );
tmpMime = cfg->readBoolEntry("text", true );
if(tmpMime )
- mimes.append("text//*");
+ mimes.append("text/*");
tmpMime = cfg->readBoolEntry("video", true );
if(tmpMime )
- mimes.append("video//*" );
+ mimes.append("video/*" );
}
return mimes;
}
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
@@ -85,22 +85,18 @@ void MediumMountGui::writeConfig(bool autocheck) {
mimeTypeList.clear();
mimeTypeList += QString::null;
} else {
if (checkmimeaudio) {
- mimeTypeList += ("audio//*");
+ mimeTypeList += ("audio/*");
}
if (checkmimetext) {
- mimeTypeList += ("text//*");
+ mimeTypeList += ("text/*");
}
if (checkmimevideo) {
- mimeTypeList += ("video//*");
+ mimeTypeList += ("video/*");
}
if (checkmimeimage) {
- mimeTypeList += ("image//*");
- }
- if (checkmimeall) {
- mimeTypeList.clear();
- mimeTypeList << QString::null;
+ mimeTypeList += ("image/*");
}
}
cfg.write(); // not really needed here but just to be sure
}