# HG changeset patch # User Santeri Piippo # Date 1520417046 -7200 # Node ID b6ee4ae3f4212cb453ce714391a5f40425644325 # Parent 900f1dfae46bfa06a27d90f76481a16c86655d7b removed some debug code diff -r 900f1dfae46b -r b6ee4ae3f421 src/canvas.cpp --- a/src/canvas.cpp Tue Mar 06 23:29:40 2018 +0200 +++ b/src/canvas.cpp Wed Mar 07 12:04:06 2018 +0200 @@ -42,16 +42,6 @@ GLRenderer::overpaint(painter); QFontMetrics metrics {QFont {}}; -#ifndef RELEASE - { - QString text = format("Rotation: %1\nPanning: (%2, %3), Zoom: %4", rotationMatrix(), panning(X), panning(Y), zoom()); - QRect textSize = metrics.boundingRect(0, 0, width(), height(), Qt::AlignCenter, text); - painter.setPen(textPen()); - painter.drawText((width() - textSize.width()) / 2, height() - textSize.height(), textSize.width(), - textSize.height(), Qt::AlignCenter, text); - } -#endif - if (camera() != Camera::Free) { // Paint the coordinates onto the screen.