mirror of https://github.com/procxx/kepka.git
Clear memory on MediaView closing.
This commit is contained in:
parent
f2348fc749
commit
c9159e2191
|
@ -3138,6 +3138,10 @@ void MediaView::setVisible(bool visible) {
|
|||
stopGif();
|
||||
destroyThemePreview();
|
||||
_radial.stop();
|
||||
_current = QPixmap();
|
||||
_themePreview = nullptr;
|
||||
_themeApply.destroyDelayed();
|
||||
_themeCancel.destroyDelayed();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue