SmartPlaylistSearchTermWidget: Add const

This commit is contained in:
Jonas Kvinge 2024-06-12 18:56:21 +02:00
parent c92a1b516c
commit 20595a11bc
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ void SmartPlaylistSearchTermWidget::showEvent(QShowEvent *e) {
void SmartPlaylistSearchTermWidget::Grab() { overlay_->Grab(); }
void SmartPlaylistSearchTermWidget::set_overlay_opacity(float opacity) {
void SmartPlaylistSearchTermWidget::set_overlay_opacity(const float opacity) {
if (overlay_) overlay_->SetOpacity(opacity);
}