From 400a2c184dcfa4628c47b84200882bd1a9422a77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Sun, 24 Jun 2018 21:52:54 +0200 Subject: [PATCH] Remove Callgrind Macros --- src/MainWindow.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 207c320e..caaf3e06 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -342,13 +342,8 @@ void MainWindow::openProject(const QString &project_name) finalizeOpen(); } -#include - void MainWindow::finalizeOpen() { - CALLGRIND_ZERO_STATS; - CALLGRIND_START_INSTRUMENTATION; - core->getOpcodes(); // Set settings to override any incorrect saved in the project @@ -365,9 +360,6 @@ void MainWindow::finalizeOpen() // Add fortune message addOutput("\n" + core->cmd("fo")); showMaximized(); - - CALLGRIND_DUMP_STATS; - CALLGRIND_STOP_INSTRUMENTATION; } bool MainWindow::saveProject(bool quit)