]> Devoid-pointer.net GitWeb - anyanka.git/commitdiff
Comment out really unnecessarry debugging output.
authorMichal Malý <madcatxster@devoid-pointer.net>
Fri, 13 Mar 2015 00:57:47 +0000 (01:57 +0100)
committerMichal Malý <madcatxster@devoid-pointer.net>
Fri, 13 Mar 2015 00:57:47 +0000 (01:57 +0100)
signalcontroller.cpp

index d1ffc55837fa34893bffc3dd871e7ff28b581b11..54a303ebe1d72843d3a6d01b7cfe7ce03611774b 100644 (file)
@@ -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));