diff options
Diffstat (limited to 'Applications/Piano/WaveWidget.cpp')
-rw-r--r-- | Applications/Piano/WaveWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/Piano/WaveWidget.cpp b/Applications/Piano/WaveWidget.cpp index 817c80b029..894e8e8187 100644 --- a/Applications/Piano/WaveWidget.cpp +++ b/Applications/Piano/WaveWidget.cpp @@ -102,8 +102,8 @@ void WaveWidget::paint_event(GUI::PaintEvent& event) for (size_t x = 1; x < buffer.size(); ++x) { int y = sample_to_y(buffer[x].left); - Point point1(prev_x * width_scale, prev_y); - Point point2(x * width_scale, y); + Gfx::Point point1(prev_x * width_scale, prev_y); + Gfx::Point point2(x * width_scale, y); painter.draw_line(point1, point2, wave_color); prev_x = x; |