diff options
author | Leandro Melo <leandro.melo@nokia.com> | 2012-01-12 17:53:56 +0100 |
---|---|---|
committer | Leandro Melo <leandro.melo@nokia.com> | 2012-01-13 11:22:28 +0100 |
commit | c287d906043244874541afb94ae3a90b2990946e (patch) | |
tree | 31e448e4570f1cca485e8376e1b96d7c88a39bee /src/plugins/cpptools/cppmodelmanager.cpp | |
parent | 40810e759687beaaf813c6df456418b3795ca0e2 (diff) | |
download | qt-creator-c287d906043244874541afb94ae3a90b2990946e.tar.gz |
C++: Rename source/setSource to utf8Source/setUtf8Source
Continuinng a previous commit... This is in order to make
the interface clearer.
Change-Id: Ic1b05217f878578bc84a064927507b75981c47d6
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/plugins/cpptools/cppmodelmanager.cpp')
-rw-r--r-- | src/plugins/cpptools/cppmodelmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppmodelmanager.cpp b/src/plugins/cpptools/cppmodelmanager.cpp index 8e0b79cf3f..bf676e26e3 100644 --- a/src/plugins/cpptools/cppmodelmanager.cpp +++ b/src/plugins/cpptools/cppmodelmanager.cpp @@ -589,7 +589,7 @@ void CppPreprocessor::sourceNeeded(QString &fileName, IncludeType type, unsigned const QByteArray preprocessedCode = preprocess(fileName, contents); - doc->setSource(preprocessedCode); + doc->setUtf8Source(preprocessedCode); doc->keepSourceAndAST(); doc->tokenize(); |