Bug #14642 » 0003-WStandardItemModel-reset-the-entire-invisibleRoot-on.patch
| src/Wt/WStandardItemModel.C | ||
|---|---|---|
|
::setItemPrototype(std::unique_ptr<WStandardItem> item)
|
||
|
{
|
||
|
itemPrototype_ = std::move(item);
|
||
|
invisibleRootItem_ = itemPrototype_->clone();
|
||
|
invisibleRootItem_->model_ = this;
|
||
|
}
|
||
|
std::vector<std::unique_ptr<WStandardItem> > WStandardItemModel
|
||
- « Previous
- 1
- 2
- 3
- Next »