1
0
Fork 0
forked from len0rd/rockbox

regtools/qeditor: clean-up

Free the backend when closing a tab to release some memory. Implement about
dialogs.

Change-Id: Ic8c500a23d38e6c3dd4de6a4ba862012925968be
This commit is contained in:
Amaury Pouly 2014-02-09 02:17:14 +01:00
parent a66a5af4db
commit b8bad8412f
4 changed files with 17 additions and 1 deletions

View file

@ -204,6 +204,11 @@ RegTab::RegTab(Backend *backend)
OnDataSelChanged(DataSelNothing);
}
RegTab::~RegTab()
{
delete m_io_backend;
}
void RegTab::SetDataSocName(const QString& socname)
{
if(socname.size() != 0)