Move LayerWidget::closeLayer to the public interface.
This commit is contained in:
parent
b178a5d15f
commit
07d9420c19
1 changed files with 2 additions and 1 deletions
|
|
@ -69,12 +69,13 @@ public:
|
|||
return true;
|
||||
}
|
||||
|
||||
protected:
|
||||
void closeLayer() {
|
||||
if (const auto callback = base::take(_closedCallback)) {
|
||||
callback();
|
||||
}
|
||||
}
|
||||
|
||||
protected:
|
||||
void mousePressEvent(QMouseEvent *e) override;
|
||||
void resizeEvent(QResizeEvent *e) override;
|
||||
virtual void doSetInnerFocus() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue