diff options
author | David Faure <david.faure@kdab.com> | 2018-01-28 10:53:02 +0100 |
---|---|---|
committer | David Faure <david.faure@kdab.com> | 2018-01-28 19:13:28 +0000 |
commit | 2b7de16fbe399daa00986f2d32d05cfe51966b66 (patch) | |
tree | fce00a4cef665f832b278822a565fbbf446450fe /tests/auto/corelib/mimetypes | |
parent | 08559d2b77c5a65a656c4de19c551fd2b291952c (diff) |
QMimeType: remove unwanted *.bin as preferredSuffix for octet-stream
This leads to an automatically appended .bin when saving a file.
https://bugs.freedesktop.org/show_bug.cgi?id=101667
https://bugs.kde.org/382437
Fixed upstream in shared-mime-info 1.10
Change-Id: I125a0bc72c91a082706bf2bf149adcf63ff1ec6b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/mimetypes')
-rw-r--r-- | tests/auto/corelib/mimetypes/qmimedatabase/tst_qmimedatabase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/corelib/mimetypes/qmimedatabase/tst_qmimedatabase.cpp b/tests/auto/corelib/mimetypes/qmimedatabase/tst_qmimedatabase.cpp index b1a49b7d98..e3504de732 100644 --- a/tests/auto/corelib/mimetypes/qmimedatabase/tst_qmimedatabase.cpp +++ b/tests/auto/corelib/mimetypes/qmimedatabase/tst_qmimedatabase.cpp @@ -635,6 +635,7 @@ void tst_QMimeDatabase::suffixes_data() QTest::newRow("mimetype with multiple patterns") << "text/plain" << "*.asc;*.txt;*,v" << "txt"; QTest::newRow("mimetype with uncommon pattern") << "text/x-readme" << "README*" << QString(); QTest::newRow("mimetype with no patterns") << "application/x-ole-storage" << QString() << QString(); + QTest::newRow("default_mimetype") << "application/octet-stream" << "*.bin" << QString(); } void tst_QMimeDatabase::suffixes() |