让图层功能暂时能用了
parent
14a1502a22
commit
15e2522591
|
@ -168,7 +168,7 @@ QTreeWidgetItem* LayerWrapper::getQTreeItem()
|
||||||
{
|
{
|
||||||
this->qTreeWidgetItem.setText(0, this->property.name);
|
this->qTreeWidgetItem.setText(0, this->property.name);
|
||||||
this->qTreeWidgetItem.setData(0, Qt::UserRole, QVariant::fromValue(this));
|
this->qTreeWidgetItem.setData(0, Qt::UserRole, QVariant::fromValue(this));
|
||||||
return new QTreeWidgetItem(this->qTreeWidgetItem);
|
return &this->qTreeWidgetItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTreeWidgetItem* FolderLayerWrapper::getQTreeItem()
|
QTreeWidgetItem* FolderLayerWrapper::getQTreeItem()
|
||||||
|
|
Loading…
Reference in New Issue