1
0
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:
Andrew Novikov 2015-12-23 19:43:06 +03:00 committed by agilob
parent 09d1fd3fdd
commit 371900b56f
No known key found for this signature in database
GPG Key ID: 296F0B764741106C

View File

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