diff --git a/sources/main.cpp b/sources/main.cpp index cfa2fc0..cf3dbc8 100644 --- a/sources/main.cpp +++ b/sources/main.cpp @@ -105,8 +105,8 @@ int main(int argc, char *argv[]) #endif connectToDatabase(); - BuzzerConn * pBuzzerConn = new BuzzerConn(nullptr, "192.168.4.1", 80); - BuzzerConn * pStartpadConn = new BuzzerConn(nullptr, "192.168.43.150", 80); + BuzzerConn * pBuzzerConn = new BuzzerConn(nullptr, "192.168.4.10", 80); + BuzzerConn * pStartpadConn = new BuzzerConn(nullptr, "192.168.4.11", 80); AppSettings * pAppSettings = new AppSettings(); //setup the sql storage model as a qml model @@ -132,6 +132,7 @@ int main(int argc, char *argv[]) int iRet = 0; iRet = app.exec(); + //call the destructors of all objects delete pBuzzerConn; delete pStartpadConn; delete pAppSettings;