Fix starting of tea after opening config dialog

We cleared the context menu without reconnecting the signal for starting
a tea.
parent d392669d
......@@ -178,6 +178,8 @@ void TopLevel::setTeaList(const QList<Tea> &tealist) {
contextMenu()->addAction( m_actionCollection->action(QLatin1String(KStandardAction::name(KStandardAction::Quit))) );
connect(contextMenu(), static_cast<void (QMenu::*)(QAction*)>(&QMenu::triggered), this, static_cast<void (TopLevel::*)(QAction*)>(&TopLevel::runTea));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment