summaryrefslogtreecommitdiffstats
path: root/konqueror/IDEAS
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-06-10 11:58:46 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-06-10 11:58:46 +0300
commit1585ac78f99357cbbc5041026af1c6c585b728e4 (patch)
treefe08e01fce3f379de61da3938ba56ce26ce1d8c5 /konqueror/IDEAS
parent7cc4d46cf55b013a02b6c3b7df6b5d536e69f1f1 (diff)
downloadtdebase-feat/keditfiletype/prevent-application-octet-stream-editing.tar.gz
tdebase-feat/keditfiletype/prevent-application-octet-stream-editing.zip
KEditFileType: prevent inadvertent editing of application/octet-streamfeat/keditfiletype/prevent-application-octet-stream-editing
The default fallback mime type is not something that should be edited by the user except when explicitly requested. A confirmation is shown now before allowing the user to edit this mime type. Also, since KMimeType::mimeType(...) does NOT return a null value but the default mime type, the check for incorrect mime type failed, since it expected a null return value, and the default fallback mime type was used instead, making the user inadvertedly edit the default mime type. Incorrect mime types are now promptly recognized, and an error message is shown to the user in such cases. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'konqueror/IDEAS')
0 files changed, 0 insertions, 0 deletions