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

Merge pull request #2494 from branch agilob/logout_action

This commit is contained in:
Nils Fenner 2015-11-02 22:24:34 +01:00
commit c568a4db05
No known key found for this signature in database
GPG Key ID: 9591A163FF9BE04C

View File

@ -1701,7 +1701,7 @@ void Widget::onTryCreateTrayIcon()
QStyle *style = qApp->style(); QStyle *style = qApp->style();
actionLogout = new QAction(tr("&Logout"), this); actionLogout = new QAction(tr("&Logout"), this);
actionLogout->setIcon(style->standardIcon(QStyle::SP_BrowserStop)); actionLogout->setIcon(style->standardIcon(QStyle::SP_DialogResetButton));
connect(actionLogout, &QAction::triggered, profileForm, &ProfileForm::onLogoutClicked); connect(actionLogout, &QAction::triggered, profileForm, &ProfileForm::onLogoutClicked);
actionQuit = new QAction(tr("&Exit"), this); actionQuit = new QAction(tr("&Exit"), this);