forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user