From: Michal MalĂ˝ Date: Fri, 13 Mar 2015 00:57:47 +0000 (+0100) Subject: Comment out really unnecessarry debugging output. X-Git-Tag: 0.4b~2 X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=55dcad0b11570ded61deb7f0f7805f8dbb780b0e;p=anyanka.git Comment out really unnecessarry debugging output. --- 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));