forked from qt-creator/qt-creator
CppEditor: Do not offer generated QObject functions
... in "create implementations" quickfix. Change-Id: Ie8aa00e432afdf1338d4897ad211c15fef753404 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -3496,6 +3496,10 @@ public:
|
||||
Function * const func = s->type()->asFunctionType();
|
||||
if (!func || func->isSignal() || func->isFriend())
|
||||
continue;
|
||||
Overview oo = CppCodeStyleSettings::currentProjectCodeStyleOverview();
|
||||
oo.showFunctionSignatures = true;
|
||||
if (magicQObjectFunctions().contains(oo.prettyName(func->name())))
|
||||
continue;
|
||||
m_declarations << s;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user