diff options
Diffstat (limited to 'Applications/Piano/RollWidget.cpp')
-rw-r--r-- | Applications/Piano/RollWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Piano/RollWidget.cpp b/Applications/Piano/RollWidget.cpp index e39206788d..8b2a8f93cd 100644 --- a/Applications/Piano/RollWidget.cpp +++ b/Applications/Piano/RollWidget.cpp @@ -80,7 +80,7 @@ void RollWidget::paint_event(GUI::PaintEvent& event) int x_pos = x * note_width; int next_x_pos = (x + 1) * note_width; int distance_to_next_x = next_x_pos - x_pos; - Rect rect(x_pos, y_pos, distance_to_next_x, note_height); + Gfx::Rect rect(x_pos, y_pos, distance_to_next_x, note_height); if (m_roll_notes[y + note_offset][x] == On) painter.fill_rect(rect, note_pressed_color); |