mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
Oops, remove some debug output
This commit is contained in:
parent
05e6ee8440
commit
b2418fd3ee
@ -112,9 +112,6 @@ void NyanCatAnalyzer::analyze(QPainter& p, const Analyzer::Scope& s, bool new_fr
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QTime t;
|
|
||||||
t.start();
|
|
||||||
|
|
||||||
// Do we have to draw the whole rainbow into the buffer?
|
// Do we have to draw the whole rainbow into the buffer?
|
||||||
if (buffer_.isNull()) {
|
if (buffer_.isNull()) {
|
||||||
buffer_ = QPixmap(size());
|
buffer_ = QPixmap(size());
|
||||||
@ -146,8 +143,6 @@ void NyanCatAnalyzer::analyze(QPainter& p, const Analyzer::Scope& s, bool new_fr
|
|||||||
// Draw the buffer on to the widget
|
// Draw the buffer on to the widget
|
||||||
p.drawPixmap(0, 0, buffer_);
|
p.drawPixmap(0, 0, buffer_);
|
||||||
|
|
||||||
qLog(Debug) << t.elapsed();
|
|
||||||
|
|
||||||
// Draw nyan cat (he's been waiting for this for 50 lines).
|
// Draw nyan cat (he's been waiting for this for 50 lines).
|
||||||
// Nyan nyan nyan nyan.
|
// Nyan nyan nyan nyan.
|
||||||
QRect cat_dest(width() - kCatWidth, (height() - kCatHeight) / 2,
|
QRect cat_dest(width() - kCatWidth, (height() - kCatHeight) / 2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user