mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix for the issue #2458
This commit is contained in:
parent
09d1fd3fdd
commit
371900b56f
|
@ -144,7 +144,10 @@ void Widget::init()
|
|||
actionLogout->setIcon(prepareIcon(":/img/others/logout-icon.svg", icon_size, icon_size));
|
||||
|
||||
actionQuit = new QAction(this);
|
||||
#ifndef Q_OS_OSX
|
||||
actionQuit->setMenuRole(QAction::QuitRole);
|
||||
#endif
|
||||
actionQuit->setShortcut(QKeySequence::Quit);
|
||||
actionQuit->setIcon(prepareIcon(":/ui/rejectCall/rejectCall.svg", icon_size, icon_size));
|
||||
connect(actionQuit, &QAction::triggered, qApp, &QApplication::quit);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user