From 55dcad0b11570ded61deb7f0f7805f8dbb780b0e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Fri, 13 Mar 2015 01:57:47 +0100 Subject: [PATCH] Comment out really unnecessarry debugging output. --- signalcontroller.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/signalcontroller.cpp b/signalcontroller.cpp index d1ffc55..54a303e 100644 --- a/signalcontroller.cpp +++ b/signalcontroller.cpp @@ -198,15 +198,15 @@ RulerDrawData SignalController::getRulerDrawData(const double from, const double step = 1 / pow(10, floor(log10(1 / (diffAbs))) + 1); // Magic - you want to love it but you better not touch! numSteps = diffAbs / step; pixelStep = pixelLength / numSteps + 1; - Logger::log(Logger::Level::DEBUG, ME_SENDER_STR, __QFUNC__ + QString("pixelStep %1, step %2, pixelLength %3, numSteps %4").arg(pixelStep).arg(step).arg(pixelLength).arg(numSteps)); + //Logger::log(Logger::Level::DEBUG, ME_SENDER_STR, __QFUNC__ + QString("pixelStep %1, step %2, pixelLength %3, numSteps %4").arg(pixelStep).arg(step).arg(pixelLength).arg(numSteps)); if (pixelStep < minPixelStep) { const double upscaleFactor = ceil(minPixelStep / pixelStep); step *= upscaleFactor; - Logger::log(Logger::Level::DEBUG, ME_SENDER_STR, __QFUNC__ + QString("Corrected step %1, upscaleFactor %2").arg(step).arg(upscaleFactor)); + //Logger::log(Logger::Level::DEBUG, ME_SENDER_STR, __QFUNC__ + QString("Corrected step %1, upscaleFactor %2").arg(step).arg(upscaleFactor)); } else if (pixelStep > maxPixelStep) { const double downscaleFactor = ceil(pixelStep / maxPixelStep); step /= downscaleFactor; - Logger::log(Logger::Level::DEBUG, ME_SENDER_STR, __QFUNC__ + QString("Corrected step %1, downscaleFactor %2").arg(step).arg(downscaleFactor)); + //Logger::log(Logger::Level::DEBUG, ME_SENDER_STR, __QFUNC__ + QString("Corrected step %1, downscaleFactor %2").arg(step).arg(downscaleFactor)); } relStep = (diffRel * step) / (diffAbs); //Logger::log(Logger::Level::DEBUG, ME_SENDER_STR, __QFUNC__ + QString(" rD %1 aD %2").arg(diffRel).arg(diffAbs)); -- 2.43.5