diff --git a/saorisystemtray.cpp b/saorisystemtray.cpp index 2c67160..153a535 100644 --- a/saorisystemtray.cpp +++ b/saorisystemtray.cpp @@ -39,9 +39,7 @@ setIcon(m_icon); - connect(m_action_quit,&QAction::triggered,this,[](){ - SaoriApplication::saori()->quit(); - }); + connect(m_action_quit,&QAction::triggered,SaoriApplication::saori(),&SaoriApplication::quit); connect(m_action_show,&QAction::triggered,this,&SaoriSystemTray::showMainwindow); m_menu->addAction(m_action_show); m_menu->addAction(m_action_quit);