Merge pull request #5998 from dzmat/mem_leak_fixing2

memleak fix
This commit is contained in:
sledgehammer999 2016-12-02 01:43:13 +02:00 committed by GitHub
commit 7bd7f2b045

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