diff options
author | David Faure <faure@kde.org> | 2012-01-12 18:19:21 +0100 |
---|---|---|
committer | Wolf-Michael Bolle <wolf-michael.bolle@nokia.com> | 2012-01-25 12:47:57 +0100 |
commit | 37e1983b07d892d2bcfd8a60bc2d50c78afc21cc (patch) | |
tree | ff450c3523e304f434842529e18f583a083a1007 /examples/mimetypefinder/main.cpp | |
parent | ab50d0312ecec6fdc7f570ba32a13428c8c8f090 (diff) |
Rename findByName to findByFileName
This makes it clearer that it's about file names, and not about mimetype
names. And this makes it closer to findMimeTypesByFileName.
Change-Id: If407fd775b71e9e75acfbd8725026f7e36fce871
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Wolf-Michael Bolle <wolf-michael.bolle@nokia.com>
Diffstat (limited to 'examples/mimetypefinder/main.cpp')
-rw-r--r-- | examples/mimetypefinder/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mimetypefinder/main.cpp b/examples/mimetypefinder/main.cpp index e3a4223..8da085a 100644 --- a/examples/mimetypefinder/main.cpp +++ b/examples/mimetypefinder/main.cpp @@ -33,7 +33,7 @@ int main(int argc, char *argv[]) mime = db.findByData(file.read(32000)); } } else if (option == QLatin1String("-f")) { - mime = db.findByName(fileName); + mime = db.findByFileName(fileName); } else { mime = db.findByFile(fileName); } |