path: root/src/corelib/mimetypes
diff options
authorJeremy Katz <>2012-07-19 02:44:43 +0200
committerQt by Nokia <>2012-07-19 11:40:15 +0200
commit2d504d01dc02f64b02fa1bcdbcbd496463378230 (patch)
tree2971813859863f49d7878bdb1db4b11a5b33ea32 /src/corelib/mimetypes
parentb8e658d16906ac1afdb4d35b3a1cb16a996b69a1 (diff)
fix "No such ..." for QMimaeDatabase::mimeTypeForFile()
Change-Id: Ife8e361524ac324ce2cfb20d952db5be042fecc1 Reviewed-by: David Faure <>
Diffstat (limited to 'src/corelib/mimetypes')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/mimetypes/qmimedatabase.cpp b/src/corelib/mimetypes/qmimedatabase.cpp
index dd32e45b67..04024ff5a7 100644
--- a/src/corelib/mimetypes/qmimedatabase.cpp
+++ b/src/corelib/mimetypes/qmimedatabase.cpp
@@ -339,7 +339,7 @@ QMimeType QMimeDatabase::mimeTypeForName(const QString &nameOrAlias) const
file contents are used to determine the MIME type. This is equivalent to
calling mimeTypeForData with a QFile as input device.
- In all cases, the \a fileName can also include an absolute or relative path.
+ \a fileInfo may refer to an absolute or relative path.
\sa isDefault, mimeTypeForData