From: Michal MalĂ˝ Date: Sat, 7 Mar 2015 15:55:54 +0000 (+0100) Subject: Remove usage of QDebug from integrator.cpp X-Git-Tag: 0.4a~6 X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=01624304b104c782d3570e4de1c3f21fa044ffbb;p=anyanka.git Remove usage of QDebug from integrator.cpp --- diff --git a/integrator.cpp b/integrator.cpp index 08fa60f..d58d39d 100644 --- a/integrator.cpp +++ b/integrator.cpp @@ -23,8 +23,6 @@ #include "integrator.h" #include "logger.h" -#include - Integrator::Integrator(std::shared_ptr signal, QObject* parent) : QObject(parent), m_peakCount(0), @@ -57,7 +55,7 @@ Integrator::IntegratedPeakCSPtr Integrator::deletePeak(size_t idx) } /* We have a peak */ if (peak != nullptr) { - qDebug() << "Deleting peak" << idx << "area" << peak->auc(); + Logger::log(Logger::Level::DEBUG, ME_SENDER_STR, __QFUNC__ + QString("Deleting peak %1 area %2").arg(idx).arg(peak->auc())); if (list.empty()) m_peakMap.erase(mit); m_peakCount--;