diff options
author | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-02-17 14:34:28 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-02-17 13:39:32 +0000 |
commit | ee64a062b192cf4890b22345c4f0db814bae9557 (patch) | |
tree | fb15dbb49cf1938f0ba70d3a6d4d3e9dadd57f01 | |
parent | b4902e5f1beef4ccde7b2f4711be28295af5d23a (diff) | |
download | qt-creator-ee64a062b192cf4890b22345c4f0db814bae9557.tar.gz |
Clang: Fix compilation
clangcompletion.cpp:1098:5: error: no type named 'MimeDatabase' in
namespace 'ClangCodeModel::Utils'
clangcompletion.cpp:1099:11: error: no type named 'MimeType' in
namespace 'ClangCodeModel::Utils'
Change-Id: If83c09f7b7b6d4599b862c2d9a0fa49e446178f0
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
-rw-r--r-- | src/plugins/clangcodemodel/clangcompletion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/clangcodemodel/clangcompletion.cpp b/src/plugins/clangcodemodel/clangcompletion.cpp index 513d009312..7d0e53b3ce 100644 --- a/src/plugins/clangcodemodel/clangcompletion.cpp +++ b/src/plugins/clangcodemodel/clangcompletion.cpp @@ -1095,8 +1095,8 @@ bool ClangCompletionAssistProcessor::completeInclude(const QTextCursor &cursor) if (!headerPaths.contains(currentFilePath)) headerPaths.append(currentFilePath); - Utils::MimeDatabase mdb; - const Utils::MimeType mimeType = mdb.mimeTypeForName(QLatin1String("text/x-c++hdr")); + ::Utils::MimeDatabase mdb; + const ::Utils::MimeType mimeType = mdb.mimeTypeForName(QLatin1String("text/x-c++hdr")); const QStringList suffixes = mimeType.suffixes(); foreach (const ProjectPart::HeaderPath &headerPath, headerPaths) { |