From 4c5814d1a7f02d7830d05d776859f12804c27c24 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Wed, 22 Aug 2018 12:44:16 -0400 Subject: [PATCH] no one saw that --- GUI/main.cpp | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) 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; }