summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppprojectfile.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-02-27 16:02:25 +0100
committerEike Ziller <eike.ziller@theqtcompany.com>2015-02-27 16:02:25 +0000
commit38b183fd9023ab9524e5a0a114712feef193c1c7 (patch)
tree40909cb6a0cc4ea06fd7034ac5c4f1b9d4ba8ede /src/plugins/cpptools/cppprojectfile.h
parent6758b78ba6eda4ee33e4528bd11da96f2df0b438 (diff)
downloadqt-creator-38b183fd9023ab9524e5a0a114712feef193c1c7.tar.gz
MimeDatabase: Remove bestMatch, which was broken beyond repair
The problem is that, if you check e.g. a .pro file against all C/C++ mime types, and these define magic matchers, it would find that .pro doesn't match C/C++ mime types by extension, so it would open the file to find a magic match. Even though the extension .pro would identify it already as a qmake .pro file when checking for the mime type globally. Change-Id: I3341187e88e2263bf38169c3c99e5d2161e2a9ee Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/cpptools/cppprojectfile.h')
-rw-r--r--src/plugins/cpptools/cppprojectfile.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppprojectfile.h b/src/plugins/cpptools/cppprojectfile.h
index c656b70e8b..cf3b01fe8b 100644
--- a/src/plugins/cpptools/cppprojectfile.h
+++ b/src/plugins/cpptools/cppprojectfile.h
@@ -88,7 +88,6 @@ private:
QList<ProjectFile> &m_files;
QHash<QString, ProjectFile::Kind> m_mimeNameMapping;
- QList<Utils::MimeType> m_mimeTypes;
};
} // namespace Internal