mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-21 23:49:13 -04:00
gui: statistics: add exit button onto toolbar
and comment out quit-close button per cyril taste
This commit is contained in:
parent
c784e09daa
commit
3fa98d7973
@ -59,6 +59,7 @@
|
||||
#define IMAGE_BWGRAPH ":/icons/bandwidth128.png"
|
||||
#define IMAGE_GLOBALROUTER ":/icons/GRouter128.png"
|
||||
#define IMAGE_GXSTRANSPORT ":/icons/transport128.png"
|
||||
#define IMAGE_QUIT ":/icons/png/exit.png"
|
||||
#define IMAGE_RTT ":/icons/RTT128.png"
|
||||
|
||||
//#define IMAGE_BANDWIDTH ":images/office-chart-area-stacked.png"
|
||||
@ -201,6 +202,9 @@ void StatisticsWindow::initStackedPage()
|
||||
|
||||
/* Create the toolbar */
|
||||
ui->toolBar->addActions(grp->actions());
|
||||
// commented out per cyril taste
|
||||
// action = ui->toolBar->addAction(FilesDefs::getIconFromQtResourcePath(IMAGE_QUIT), tr("Quit"));
|
||||
// connect(action, &QAction::triggered, this, &StatisticsWindow::close);
|
||||
|
||||
connect(grp, SIGNAL(triggered(QAction *)), ui->stackPages, SLOT(showPage(QAction *)));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user