clear up debug codes

This commit is contained in:
Roy Qu 2022-01-12 18:35:14 +08:00
parent 995b734334
commit 351f4e86ed
1 changed files with 0 additions and 2 deletions

View File

@ -2167,10 +2167,8 @@ Qt::ItemFlags WatchModel::flags(const QModelIndex &index) const
}
if (index.column() == 2) {
WatchVar* item = static_cast<WatchVar*>(index.internalPointer());
qDebug()<<item->name<<item->numChild<<item->type<<item->hasMore<<(item->numChild==0 && !item->hasMore && !item->type.isEmpty());
if (item->numChild==0 && !item->type.isEmpty())
flags |= Qt::ItemIsEditable;
qDebug()<<flags;
}
return flags;
}