2018-07-21 15:40:16 -07:00
|
|
|
#include "mainwindow.h"
|
|
|
|
#include <QApplication>
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
2018-08-22 12:24:55 -04:00
|
|
|
_CrtMemState memStates[100] = {};
|
|
|
|
_CrtMemCheckpoint(memStates);
|
|
|
|
{
|
|
|
|
QApplication a(argc, argv);
|
|
|
|
MainWindow w;
|
|
|
|
w.show();
|
2018-07-21 15:40:16 -07:00
|
|
|
|
2018-08-22 12:24:55 -04:00
|
|
|
|
|
|
|
a.exec();
|
|
|
|
}
|
|
|
|
_CrtMemCheckpoint(memStates + 1);
|
|
|
|
if (_CrtMemDifference(memStates + 2, memStates + 0, memStates + 1))
|
|
|
|
_CrtMemDumpStatistics(memStates + 2);
|
|
|
|
return 0;
|
2018-07-21 15:40:16 -07:00
|
|
|
}
|