Fix BoxLayerWidget::addTopButton.
Regression was introduced in c468f8b3c6.
This commit is contained in:
parent
72940a25e3
commit
81b9028e1c
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ void BoxLayerWidget::addLeftButton(object_ptr<AbstractButton> button) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BoxLayerWidget::addTopButton(object_ptr<AbstractButton> button) {
|
void BoxLayerWidget::addTopButton(object_ptr<AbstractButton> button) {
|
||||||
_topButton = base::make_unique_q<AbstractButton>(button.release());
|
_topButton = base::unique_qptr<AbstractButton>(button.release());
|
||||||
const auto raw = _topButton.get();
|
const auto raw = _topButton.get();
|
||||||
raw->setParent(this);
|
raw->setParent(this);
|
||||||
raw->show();
|
raw->show();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue