diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2010-08-26 16:16:22 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2010-08-26 16:16:22 +0200 |
commit | 05f2fd666902e7246b7110187d4964644291e26f (patch) | |
tree | 26184894891d998e8e88e8826e3c3425ec7a9244 /src/plugins/cpptools/cppfindreferences.cpp | |
parent | 688d382ad947df8f4406d10846da0751839d61d1 (diff) | |
download | qt-creator-05f2fd666902e7246b7110187d4964644291e26f.tar.gz |
Renamed Symbol::scope() to Symbol::enclosingScope().
Diffstat (limited to 'src/plugins/cpptools/cppfindreferences.cpp')
-rw-r--r-- | src/plugins/cpptools/cppfindreferences.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cppfindreferences.cpp b/src/plugins/cpptools/cppfindreferences.cpp index 4d33e04f72..514dd28722 100644 --- a/src/plugins/cpptools/cppfindreferences.cpp +++ b/src/plugins/cpptools/cppfindreferences.cpp @@ -190,8 +190,8 @@ static void find_helper(QFutureInterface<Usage> &future, const QString sourceFile = QString::fromUtf8(symbol->fileName(), symbol->fileNameLength()); QStringList files(sourceFile); - if (symbol->isClass() || symbol->isForwardClassDeclaration() || (symbol->scope() && ! symbol->isStatic() && - symbol->scope()->isNamespace())) { + if (symbol->isClass() || symbol->isForwardClassDeclaration() || (symbol->enclosingScope() && ! symbol->isStatic() && + symbol->enclosingScope()->isNamespace())) { foreach (const Document::Ptr &doc, context.snapshot()) { if (doc->fileName() == sourceFile) continue; |