summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cpphoverhandler.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-06-04 09:59:38 +0200
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-06-04 11:15:38 +0200
commit10ed2c536ef815388391e575167c55552dd5dce5 (patch)
treec312cd095c8190018e0d845c12584b13b13701fc /src/plugins/cppeditor/cpphoverhandler.cpp
parent2ede9773bbf4d7c56b092b5d67bd729ddae8cf19 (diff)
downloadqt-creator-10ed2c536ef815388391e575167c55552dd5dce5.tar.gz
Fixed hidden parameters.
Diffstat (limited to 'src/plugins/cppeditor/cpphoverhandler.cpp')
-rw-r--r--src/plugins/cppeditor/cpphoverhandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/cppeditor/cpphoverhandler.cpp b/src/plugins/cppeditor/cpphoverhandler.cpp
index f1ba99581a..65172a6e1f 100644
--- a/src/plugins/cppeditor/cpphoverhandler.cpp
+++ b/src/plugins/cppeditor/cpphoverhandler.cpp
@@ -138,16 +138,16 @@ void CppHoverHandler::showToolTip(TextEditor::ITextEditor *editor, const QPoint
}
}
-static QString buildHelpId(Symbol *symbol, const Name *name)
+static QString buildHelpId(Symbol *symbol, const Name *declarationName)
{
Scope *scope = 0;
if (symbol) {
scope = symbol->scope();
- name = symbol->name();
+ declarationName = symbol->name();
}
- if (! name)
+ if (! declarationName)
return QString();
Overview overview;
@@ -155,7 +155,7 @@ static QString buildHelpId(Symbol *symbol, const Name *name)
overview.setShowReturnTypes(false);
QStringList qualifiedNames;
- qualifiedNames.prepend(overview.prettyName(name));
+ qualifiedNames.prepend(overview.prettyName(declarationName));
for (; scope; scope = scope->enclosingScope()) {
Symbol *owner = scope->owner();