From cd3e485bf2ac1de46cbf7102101e875e2f9e5a12 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Mon, 17 Sep 2018 20:22:21 +0200 Subject: [PATCH] test --- sources/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;