Commit e14cd6b3 authored by Edric Milaret's avatar Edric Milaret Committed by gerrit2

add possibility to quit from taskbar

Change-Id: Iad047c2d3c206b78fda6af1b3c1f38010fbda6bf
Tuleap: #599
parent 1343831f
......@@ -54,9 +54,15 @@ MainWindow::MainWindow(QWidget* parent) :
QMenu* menu = new QMenu();
auto configAction = new QAction("Configuration", this);
auto configAction = new QAction(tr("Configuration"), this);
menu->addAction(configAction);
auto exitAction = new QAction(tr("Exit"), this);
connect(exitAction, &QAction::triggered, [this](){
QCoreApplication::exit();
});
menu->addAction(exitAction);
sysIcon.setContextMenu(menu);
sysIcon.show();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment