mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-18 21:54:11 -04:00
EGD-2964 application notes - removed leak
This commit is contained in:
@@ -57,15 +57,7 @@ namespace gui
|
||||
}
|
||||
void NotesMainWindow::destroyInterface()
|
||||
{
|
||||
AppWindow::destroyInterface();
|
||||
|
||||
if (list) {
|
||||
removeWidget(list);
|
||||
delete list;
|
||||
list = nullptr;
|
||||
};
|
||||
|
||||
children.clear();
|
||||
erase();
|
||||
delete notesModel;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user