Browse Source

Fix for the issue #2458

pull/2772/head
Andrew Novikov 10 years ago committed by agilob
parent
commit
371900b56f
No known key found for this signature in database
GPG Key ID: 296F0B764741106C
  1. 3
      src/widget/widget.cpp

3
src/widget/widget.cpp

@ -144,7 +144,10 @@ void Widget::init() @@ -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…
Cancel
Save