CppEditor: remove operator() overloads from OverView

Feels less obfuscated.

Change-Id: Ide0ec1f38762038ddbb1eddb4f70f7d6acdf1ff7
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
hjk
2012-10-16 12:53:21 +02:00
parent 2b3058238a
commit 6fb3328dbe
12 changed files with 43 additions and 43 deletions

View File

@@ -1702,7 +1702,7 @@ private:
FullySpecifiedType tn = rewriteType(result.first().type(), &env, control);
Overview oo;
QString ty = oo(tn);
QString ty = oo.prettyType(tn);
if (! ty.isEmpty()) {
const QChar ch = ty.at(ty.size() - 1);
@@ -1848,7 +1848,7 @@ public:
if (!existingResults.isEmpty())
return noResult();
const QString &className = Overview()(innermostName->name);
const QString &className = Overview().prettyName(innermostName->name);
if (className.isEmpty())
return noResult();