no one saw that
This commit is contained in:
parent
2a222c4446
commit
4c5814d1a7
11
GUI/main.cpp
11
GUI/main.cpp
@ -3,18 +3,9 @@
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
_CrtMemState memStates[100] = {};
|
|
||||||
_CrtMemCheckpoint(memStates);
|
|
||||||
{
|
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
MainWindow w;
|
MainWindow w;
|
||||||
w.show();
|
w.show();
|
||||||
|
|
||||||
|
return a.exec;
|
||||||
a.exec();
|
|
||||||
}
|
|
||||||
_CrtMemCheckpoint(memStates + 1);
|
|
||||||
if (_CrtMemDifference(memStates + 2, memStates + 0, memStates + 1))
|
|
||||||
_CrtMemDumpStatistics(memStates + 2);
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user