1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Remove ctrl+q from tray menu

This commit is contained in:
agilob 2016-01-02 22:01:41 +00:00
parent 371900b56f
commit cb43a9b70e
No known key found for this signature in database
GPG Key ID: 296F0B764741106C

View File

@ -147,7 +147,6 @@ void Widget::init()
#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);
@ -773,7 +772,7 @@ void Widget::onIconClick(QSystemTrayIcon::ActivationReason reason)
}
else if (reason == QSystemTrayIcon::Unknown)
{
if (isHidden())
if (isHidden())
forceShow();
}
}