Add Rescan Devices button to systray icon dialog
This commit is contained in:
parent
a31c4f5254
commit
fb1c20ed30
1 changed files with 5 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/*---------------------------------------------------------*\
|
||||
/*---------------------------------------------------------*\
|
||||
| OpenRGBDialog.cpp |
|
||||
| |
|
||||
| User interface for OpenRGB main window |
|
||||
|
|
@ -389,6 +389,10 @@ OpenRGBDialog::OpenRGBDialog(QWidget *parent) : QMainWindow(parent), ui(new Ui::
|
|||
connect(actionLightsOff, SIGNAL(triggered()), this, SLOT(on_LightsOff()));
|
||||
trayIconMenu->addAction(actionLightsOff);
|
||||
|
||||
QAction* actionReScan = new QAction(tr("Rescan Devices"), this);
|
||||
connect(actionReScan, SIGNAL(triggered()), this, SLOT(on_ButtonRescan_clicked()));
|
||||
trayIconMenu->addAction(actionReScan);
|
||||
|
||||
actionExit = new QAction(tr("Exit"), this );
|
||||
connect( actionExit, SIGNAL( triggered() ), this, SLOT( on_Exit() ));
|
||||
trayIconMenu->addAction(actionExit);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue