mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
Userland: Don't explicitly call Vector<T>::is_null()
This method always returns false so there's no reason for calling it.
This commit is contained in:
parent
24ca645f08
commit
c4d0b0cd6b
2 changed files with 20 additions and 22 deletions
|
@ -23,7 +23,7 @@ void BarsVisualizationWidget::paint_event(GUI::PaintEvent& event)
|
|||
painter.add_clip_rect(event.rect());
|
||||
painter.fill_rect(frame_inner_rect(), Color::Black);
|
||||
|
||||
if (m_sample_buffer.is_null() || m_sample_buffer.is_empty())
|
||||
if (m_sample_buffer.is_empty())
|
||||
return;
|
||||
|
||||
fft(m_sample_buffer, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue