Run client from main

This commit is contained in:
Adam Honse
2020-05-01 15:29:12 -05:00
parent 94277e7d04
commit f44c6365c0
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
#pragma once
typedef struct NetPacketHeader
{
char pkt_magic[4]; /* Magic value "ORGB" identifies beginning of packet */
+2
View File
@@ -6,6 +6,7 @@
* *
\******************************************************************************************/
#include "NetworkClient.h"
#include "NetworkServer.h"
#include "OpenRGB.h"
#include "ProfileManager.h"
@@ -46,6 +47,7 @@ int main(int argc, char* argv[])
}
NetworkServer server(rgb_controllers);
NetworkClient client(rgb_controllers);
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication a(argc, argv);