memleak fix

This commit is contained in:
dzmat
2016-11-28 23:30:47 +07:00
committed by sledgehammer999
parent 56d9d370e9
commit b131a6e9df

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"));