Bug fix for small memory leak on window init.
This commit is contained in:
parent
67b7c34576
commit
26e320b163
|
@ -181,7 +181,7 @@ void consoleWin_t::createMainMenu(void)
|
||||||
|
|
||||||
sprintf( stmp, "%i", i );
|
sprintf( stmp, "%i", i );
|
||||||
|
|
||||||
state[i] = new QAction(tr(stmp));
|
state[i] = new QAction(tr(stmp), this);
|
||||||
state[i]->setCheckable(true);
|
state[i]->setCheckable(true);
|
||||||
|
|
||||||
group->addAction(state[i]);
|
group->addAction(state[i]);
|
||||||
|
|
Loading…
Reference in New Issue