test
This commit is contained in:
parent
4765684692
commit
cd3e485bf2
1 changed files with 3 additions and 2 deletions
|
@ -105,8 +105,8 @@ int main(int argc, char *argv[])
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
connectToDatabase();
|
connectToDatabase();
|
||||||
BuzzerConn * pBuzzerConn = new BuzzerConn(nullptr, "192.168.4.1", 80);
|
BuzzerConn * pBuzzerConn = new BuzzerConn(nullptr, "192.168.4.10", 80);
|
||||||
BuzzerConn * pStartpadConn = new BuzzerConn(nullptr, "192.168.43.150", 80);
|
BuzzerConn * pStartpadConn = new BuzzerConn(nullptr, "192.168.4.11", 80);
|
||||||
AppSettings * pAppSettings = new AppSettings();
|
AppSettings * pAppSettings = new AppSettings();
|
||||||
|
|
||||||
//setup the sql storage model as a qml model
|
//setup the sql storage model as a qml model
|
||||||
|
@ -132,6 +132,7 @@ int main(int argc, char *argv[])
|
||||||
int iRet = 0;
|
int iRet = 0;
|
||||||
iRet = app.exec();
|
iRet = app.exec();
|
||||||
|
|
||||||
|
//call the destructors of all objects
|
||||||
delete pBuzzerConn;
|
delete pBuzzerConn;
|
||||||
delete pStartpadConn;
|
delete pStartpadConn;
|
||||||
delete pAppSettings;
|
delete pAppSettings;
|
||||||
|
|
Reference in a new issue