Sonogram: Remove unused parameter variable
This commit is contained in:
parent
6972d3c4f9
commit
cc578e7cc5
|
@ -29,7 +29,7 @@
|
|||
const char *Sonogram::kName = QT_TRANSLATE_NOOP("AnalyzerContainer", "Sonogram");
|
||||
|
||||
Sonogram::Sonogram(QWidget *parent)
|
||||
: Analyzer::Base(parent, 9), scope_size_(128) {}
|
||||
: Analyzer::Base(parent, 9) {}
|
||||
|
||||
Sonogram::~Sonogram() {}
|
||||
|
||||
|
@ -53,9 +53,6 @@ void Sonogram::analyze(QPainter &p, const Analyzer::Scope &s, bool new_frame) {
|
|||
canvas_painter.drawPixmap(0, 0, canvas_, 1, 0, width() - 1, -1);
|
||||
|
||||
Analyzer::Scope::const_iterator it = s.begin(), end = s.end();
|
||||
if (scope_size_ != static_cast<int>(s.size())) {
|
||||
scope_size_ = s.size();
|
||||
}
|
||||
|
||||
for (int y = height() - 1; y;) {
|
||||
QColor c;
|
||||
|
|
|
@ -45,7 +45,6 @@ class Sonogram : public Analyzer::Base {
|
|||
|
||||
private:
|
||||
QPixmap canvas_;
|
||||
size_t scope_size_;
|
||||
};
|
||||
|
||||
#endif // SONOGRAM_H
|
||||
|
|
Loading…
Reference in New Issue