mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 10:55:00 +02:00
Destroy all registered Monitor objects when the Menu is destroyed
This commit is contained in:
parent
9dae4b76df
commit
5255bf6de3
@ -79,6 +79,10 @@ Menu::Menu(GMenu2X *gmenu2x, Touchscreen &ts)
|
|||||||
|
|
||||||
Menu::~Menu() {
|
Menu::~Menu() {
|
||||||
freeLinks();
|
freeLinks();
|
||||||
|
|
||||||
|
for (vector<Monitor *>::iterator it = monitors.begin();
|
||||||
|
it < monitors.end(); it++)
|
||||||
|
delete *it;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint Menu::firstDispRow() {
|
uint Menu::firstDispRow() {
|
||||||
|
Loading…
Reference in New Issue
Block a user