diff --git a/udpserver.cpp b/udpserver.cpp index 0387fc0..6f8b9c2 100644 --- a/udpserver.cpp +++ b/udpserver.cpp @@ -5,8 +5,8 @@ #define LOCK_PERIOD 10 // time to attempt to lock Mutex in ms #define AUDIO_SEND_PERIOD 20 // udpServer::udpServer(SERVERCONFIG* config, QObject* parent) : - config(config), - QObject(parent) + QObject(parent), + config(config) { qInfo(logUdpServer()) << "Starting udp server"; }