forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -710,7 +710,7 @@ void ModelManager::maybeQueueCppQmlTypeUpdate(const CPlusPlus::Document::Ptr &do
|
||||
{
|
||||
// avoid scanning documents without source code available
|
||||
doc->keepSourceAndAST();
|
||||
if (doc->source().isEmpty()) {
|
||||
if (doc->utf8Source().isEmpty()) {
|
||||
doc->releaseSourceAndAST();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user