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:
commit
c568a4db05
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user