]> Devoid-pointer.net GitWeb - anyanka.git/commitdiff
Remove usage of QDebug from integrator.cpp
authorMichal Malý <madcatxster@devoid-pointer.net>
Sat, 7 Mar 2015 15:55:54 +0000 (16:55 +0100)
committerMichal Malý <madcatxster@devoid-pointer.net>
Sat, 7 Mar 2015 15:55:54 +0000 (16:55 +0100)
integrator.cpp

index 08fa60feb4fd67cdc0dea25d5be9d62d37aee069..d58d39db3350565722386516fed7eaf7840e4285 100644 (file)
@@ -23,8 +23,6 @@
 #include "integrator.h"
 #include "logger.h"
 
-#include <QDebug>
-
 Integrator::Integrator(std::shared_ptr<Signal> 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--;