mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 22:22:45 -04:00
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:
parent
e72155c9dc
commit
1027621e07
4 changed files with 26 additions and 0 deletions
retroshare-gui/src/gui
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue