no one saw that
This commit is contained in:
parent
2a222c4446
commit
4c5814d1a7
17
GUI/main.cpp
17
GUI/main.cpp
@ -3,18 +3,9 @@
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
_CrtMemState memStates[100] = {};
|
QApplication a(argc, argv);
|
||||||
_CrtMemCheckpoint(memStates);
|
MainWindow w;
|
||||||
{
|
w.show();
|
||||||
QApplication a(argc, argv);
|
|
||||||
MainWindow w;
|
|
||||||
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