This commit is contained in:
Dorian Zedler 2018-09-17 20:22:21 +02:00
parent 4765684692
commit cd3e485bf2

View file

@ -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;