mirror of https://github.com/procxx/kepka.git
Fix crash in RpWidget::event() from alive().done()
This commit is contained in:
parent
5913e6d187
commit
98896ab5ac
|
@ -147,6 +147,11 @@ public:
|
||||||
visibilityChangedHook(wasVisible, !this->isHidden());
|
visibilityChangedHook(wasVisible, !this->isHidden());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~RpWidgetWrap() {
|
||||||
|
base::take(_lifetime);
|
||||||
|
base::take(_eventStreams);
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool event(QEvent *event) final override {
|
bool event(QEvent *event) final override {
|
||||||
return handleEvent(event);
|
return handleEvent(event);
|
||||||
|
|
Loading…
Reference in New Issue