mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-05 06:34:25 -04:00
Add OpenRGB client support to GUI
This commit is contained in:
6
main.cpp
6
main.cpp
@@ -70,7 +70,7 @@ int main(int argc, char* argv[])
|
||||
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
QApplication a(argc, argv);
|
||||
|
||||
Ui::OpenRGBDialog2 dlg(busses, rgb_controllers, &profile_manager, &server);
|
||||
Ui::OpenRGBDialog2 dlg(busses, rgb_controllers, &profile_manager);
|
||||
|
||||
if(ret_flags & RET_FLAG_I2C_TOOLS)
|
||||
{
|
||||
@@ -80,13 +80,13 @@ int main(int argc, char* argv[])
|
||||
//TODO:
|
||||
// Determine whether or not to add server tab
|
||||
// If application is open in client mode, do not show server tab
|
||||
dlg.AddServerTab();
|
||||
dlg.AddServerTab(&server);
|
||||
|
||||
//TODO:
|
||||
// Determine whether or not to add client tab
|
||||
// Client tab should probably always show
|
||||
// Implement client tab
|
||||
//dlg.AddClientTab();
|
||||
dlg.AddClientTab();
|
||||
|
||||
if(ret_flags & RET_FLAG_START_MINIMIZED)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user