forked from qt-creator/qt-creator
CppEditor: Do not re-add reimplemented virtual functions
Change-Id: Ib4308ab9483c212a045d120b61d9bc7262f1e538 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
58a0ebf379
commit
f84074b81d
@@ -4983,7 +4983,7 @@ public:
|
||||
QString lastAccessSpecString;
|
||||
for (int j = 0; j < parent->rowCount(); ++j) {
|
||||
const QStandardItem *item = parent->child(j, 0);
|
||||
if (!item->isCheckable() || item->checkState() == Qt::Unchecked)
|
||||
if (!item->isEnabled() || !item->isCheckable() || item->checkState() == Qt::Unchecked)
|
||||
continue;
|
||||
const Function *func = (const Function *)
|
||||
item->data(InsertVirtualMethodsDialog::ClassOrFunction).value<void *>();
|
||||
|
||||
Reference in New Issue
Block a user