added missign destructors, causing some parasitic memory leaks

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4079 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2011-03-05 18:26:33 +00:00
parent e72155c9dc
commit 1027621e07
4 changed files with 26 additions and 0 deletions
retroshare-gui/src/gui

View file

@ -63,6 +63,12 @@ NetworkView::NetworkView(QWidget *parent)
_should_update = true ;
}
NetworkView::~NetworkView()
{
if(mScene != NULL)
delete mScene ;
}
void NetworkView::setEdgeLength(int l)
{
ui.graphicsView->setEdgeLength(l);