Destroy AboutWindow on destruction
This commit is contained in:
parent
c191daa816
commit
b23f8cd41f
@ -77,6 +77,8 @@ PowerStatusView::PowerStatusView(BMessage* archive)
|
||||
|
||||
PowerStatusView::~PowerStatusView()
|
||||
{
|
||||
if (fAboutWindow != NULL)
|
||||
fAboutWindow->Quit();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user