[PATCH] Treat empty files like text files
Andras Mantia
amantia at freemail.hu
Thu May 1 14:01:01 BST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
The attached tiny patch makes sure that (local) empty files are treated as
text ones. Maybe a better way would be to have this check in
findByFileContent (or other KMimeType method), so it would return
"text/plain" for empty files. If no objections, I will commit.
Andras
- --
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+sRqNTQdfac6L/08RApZgAKC2rLXyIcSQ7k4R+cHGRKv62wRQmACgmBuV
sjmAgn+4bgXRS8MYaVsd59A=
=w+gm
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmimetype.diff
Type: text/x-diff
Size: 321 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030501/625208f5/attachment.diff>
More information about the kde-core-devel
mailing list