Skip to content

Commit

Permalink
Remove paint debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
miek committed Oct 3, 2015
1 parent c74939c commit 338fa68
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions spectrogram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ template <class T> const T& clamp (const T& value, const T& min, const T& max) {

void Spectrogram::paintEvent(QPaintEvent *event)
{
QElapsedTimer timer;
timer.start();

QRect rect = event->rect();
QPainter painter(this);
painter.fillRect(rect, Qt::black);
Expand All @@ -80,8 +77,6 @@ void Spectrogram::paintEvent(QPaintEvent *event)

paintTimeAxis(&painter, rect);
}

qDebug() << "Paint: " << timer.elapsed() << "ms";
}

QPixmap* Spectrogram::getPixmapTile(off_t tile)
Expand Down

0 comments on commit 338fa68

Please sign in to comment.