fix "No such ..." for QMimaeDatabase::mimeTypeForFile()
authorJeremy Katz <jeremy.katz@nokia.com>
Thu, 19 Jul 2012 00:44:43 +0000 (02:44 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 19 Jul 2012 09:40:15 +0000 (11:40 +0200)
Change-Id: Ife8e361524ac324ce2cfb20d952db5be042fecc1
Reviewed-by: David Faure <faure@kde.org>
src/corelib/mimetypes/qmimedatabase.cpp

index dd32e45..04024ff 100644 (file)
@@ -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
 */