memleak fix

This commit is contained in:
dzmat 2016-11-28 23:30:47 +07:00
parent d73688bfd8
commit de26606ad5

View File

@ -73,7 +73,7 @@ SpeedWidget::SpeedWidget(PropertiesWidget *parent)
connect(m_periodCombobox, SIGNAL(currentIndexChanged(int)), this, SLOT(onPeriodChange(int)));
m_graphsMenu = new QMenu();
m_graphsMenu = new QMenu(this);
m_graphsMenu->addAction(tr("Total Upload"));
m_graphsMenu->addAction(tr("Total Download"));
m_graphsMenu->addAction(tr("Payload Upload"));