summaryrefslogtreecommitdiff
Side-by-side diff
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
@@ -90,3 +90,3 @@ namespace {
if(tmpMime )
- mimes.append("audio//*" );
+ mimes.append("audio/*" );
@@ -94,3 +94,3 @@ namespace {
if(tmpMime )
- mimes.append("image//*" );
+ mimes.append("image/*" );
@@ -98,3 +98,3 @@ namespace {
if(tmpMime )
- mimes.append("text//*");
+ mimes.append("text/*");
@@ -102,3 +102,3 @@ namespace {
if(tmpMime )
- mimes.append("video//*" );
+ mimes.append("video/*" );
}
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
@@ -88,16 +88,12 @@ void MediumMountGui::writeConfig(bool autocheck) {
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/*");
}