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

change default quit icon in tray menu

This commit is contained in:
agilob 2015-10-08 19:29:03 +01:00 committed by tux3
parent f2866ecc44
commit 5e12c76ecd

View File

@ -1706,8 +1706,7 @@ void Widget::onTryCreateTrayIcon()
actionQuit = new QAction(tr("&Exit"), this);
actionQuit->setMenuRole(QAction::QuitRole);
actionQuit->setShortcut(QKeySequence::Quit); // system default quit shorcut
actionQuit->setIcon(style->standardIcon(QStyle::SP_DialogCloseButton)); // system default exit icon
actionQuit->setIcon(style->standardIcon(QStyle::SP_DialogDiscardButton));
connect(actionQuit, &QAction::triggered, qApp, &QApplication::quit);
trayMenu->addAction(statusOnline);