diff --git a/src/gui/properties/speedwidget.cpp b/src/gui/properties/speedwidget.cpp index ba9bb03a8..44f4e2767 100644 --- a/src/gui/properties/speedwidget.cpp +++ b/src/gui/properties/speedwidget.cpp @@ -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"));