diff --git a/GUI/main.cpp b/GUI/main.cpp index d3b6902..4cc1eb2 100644 --- a/GUI/main.cpp +++ b/GUI/main.cpp @@ -3,18 +3,9 @@ int main(int argc, char *argv[]) { - _CrtMemState memStates[100] = {}; - _CrtMemCheckpoint(memStates); - { - QApplication a(argc, argv); - MainWindow w; - w.show(); + QApplication a(argc, argv); + MainWindow w; + w.show(); - - a.exec(); - } - _CrtMemCheckpoint(memStates + 1); - if (_CrtMemDifference(memStates + 2, memStates + 0, memStates + 1)) - _CrtMemDumpStatistics(memStates + 2); - return 0; + return a.exec; }