diff --git a/src/smartplaylists/smartplaylistsearchtermwidget.cpp b/src/smartplaylists/smartplaylistsearchtermwidget.cpp index 730cbfaeb..5f54955a9 100644 --- a/src/smartplaylists/smartplaylistsearchtermwidget.cpp +++ b/src/smartplaylists/smartplaylistsearchtermwidget.cpp @@ -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); }