Skip to content

Commit

Permalink
Fix unused variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sakertooth committed Oct 1, 2024
1 parent 1dec14f commit a1a0bce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/MixerChannelView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ void MixerChannelView::contextMenuEvent(QContextMenuEvent*)
delete contextMenu;
}

void MixerChannelView::paintEvent(QPaintEvent* event)
void MixerChannelView::paintEvent(QPaintEvent*)
{
const auto channel = mixerChannel();
const auto isActive = m_mixerView->currentMixerChannel() == this;
Expand Down Expand Up @@ -219,7 +219,7 @@ void MixerChannelView::mouseDoubleClickEvent(QMouseEvent*)
renameChannel();
}

bool MixerChannelView::eventFilter(QObject* dist, QEvent* event)
bool MixerChannelView::eventFilter(QObject*, QEvent* event)
{
// If we are in a rename, capture the enter/return events and handle them
if (event->type() == QEvent::KeyPress)
Expand Down

0 comments on commit a1a0bce

Please sign in to comment.