Commit f84074b8 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

CppEditor: Do not re-add reimplemented virtual functions



Change-Id: Ib4308ab9483c212a045d120b61d9bc7262f1e538
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent 58a0ebf3
...@@ -4983,7 +4983,7 @@ public: ...@@ -4983,7 +4983,7 @@ public:
QString lastAccessSpecString; QString lastAccessSpecString;
for (int j = 0; j < parent->rowCount(); ++j) { for (int j = 0; j < parent->rowCount(); ++j) {
const QStandardItem *item = parent->child(j, 0); const QStandardItem *item = parent->child(j, 0);
if (!item->isCheckable() || item->checkState() == Qt::Unchecked) if (!item->isEnabled() || !item->isCheckable() || item->checkState() == Qt::Unchecked)
continue; continue;
const Function *func = (const Function *) const Function *func = (const Function *)
item->data(InsertVirtualMethodsDialog::ClassOrFunction).value<void *>(); item->data(InsertVirtualMethodsDialog::ClassOrFunction).value<void *>();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment