Diffstat (limited to 'core/launcher/mediummountgui.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/launcher/mediummountgui.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/launcher/mediummountgui.cpp b/core/launcher/mediummountgui.cpp index e3fa5bd..f0de85b 100644 --- a/core/launcher/mediummountgui.cpp +++ b/core/launcher/mediummountgui.cpp | |||
@@ -81,7 +81,8 @@ void MediumMountGui::writeConfig(bool autocheck) { | |||
81 | 81 | ||
82 | 82 | ||
83 | // if all is checked then add only "null" to the list. | 83 | // if all is checked then add only "QString::null" to the list. |
84 | if (checkmimeall) { | 84 | if (checkmimeall) { |
85 | mimeTypeList += ("null"); | 85 | mimeTypeList.clear(); |
86 | mimeTypeList += QString::null; | ||
86 | } else { | 87 | } else { |
87 | if (checkmimeaudio) { | 88 | if (checkmimeaudio) { |
@@ -98,8 +99,9 @@ void MediumMountGui::writeConfig(bool autocheck) { | |||
98 | } | 99 | } |
99 | if (checkmimeall) { | 100 | if (checkmimeall) { |
100 | mimeTypeList << ("null"); | 101 | mimeTypeList.clear(); |
102 | mimeTypeList << QString::null; | ||
101 | } | 103 | } |
102 | } | 104 | } |
103 | cfg.write(); | 105 | cfg.write(); // not really needed here but just to be sure |
104 | } | 106 | } |
105 | 107 | ||