diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-06-25 17:23:19 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-07-04 13:51:36 +0200 |
commit | 3d33886e53722ae7e2f33741085fe01c1a1178f8 (patch) | |
tree | 132429c7f2acac09a906cc549dcbd93fe8c90e70 /src/plugins/cpptools/cppcompletion_test.cpp | |
parent | 76152088e93258cdd025f49902270a7c53757633 (diff) | |
download | qt-creator-3d33886e53722ae7e2f33741085fe01c1a1178f8.tar.gz |
C++: fix include/framework path handling.
Instead of having two lists of paths, now only one list is used where
both include paths and framework paths can be mixed. This reflects the
way the compiler is invoked, and retains the (correct) search order.
Task-number: QTCREATORBUG-11599
Change-Id: I373953e3e305df5b7a0d10920e12d146584adf9f
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcompletion_test.cpp')
-rw-r--r-- | src/plugins/cpptools/cppcompletion_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppcompletion_test.cpp b/src/plugins/cpptools/cppcompletion_test.cpp index 560c918530..b2978ea3b8 100644 --- a/src/plugins/cpptools/cppcompletion_test.cpp +++ b/src/plugins/cpptools/cppcompletion_test.cpp @@ -105,7 +105,7 @@ public: = new CppCompletionAssistInterface(m_editorWidget->document(), m_position, m_editorWidget->baseTextDocument()->filePath(), ExplicitlyInvoked, m_snapshot, - QStringList(), QStringList()); + ProjectPart::HeaderPaths()); CppCompletionAssistProcessor processor; IAssistProposal *proposal = processor.perform(ai); if (!proposal) |