Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
5.15
-
None
Description
Using the QMimeType class to detect gif file and returning incorrect suffixes "ts"
#include <QtWidgets/QApplication> #include <QMimeDatabase> int main(int argc, char *argv[]) { QApplication a(argc, argv); QMimeDatabase db; auto mime = db.mimeTypeForFile("1.gif", QMimeDatabase::MatchContent); auto suffixs = mime.suffixes(); return a.exec(); }