Add Rescan Devices button to systray icon dialog

master
Atome “Atom” Art 10 months ago committed by Adam Honse
parent a31c4f5254
commit fb1c20ed30

@ -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…
Cancel
Save