Remove Callgrind Macros

This commit is contained in:
Florian Märkl 2018-06-24 21:52:54 +02:00
parent 05e49ee8a6
commit 400a2c184d

View File

@ -342,13 +342,8 @@ void MainWindow::openProject(const QString &project_name)
finalizeOpen();
}
#include <valgrind/callgrind.h>
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)