Add missing names for parameter variables
This commit is contained in:
@@ -80,7 +80,9 @@ void SmartPlaylistSearchTermWidgetOverlay::SetOpacity(const float opacity) {
|
||||
|
||||
}
|
||||
|
||||
void SmartPlaylistSearchTermWidgetOverlay::paintEvent(QPaintEvent*) {
|
||||
void SmartPlaylistSearchTermWidgetOverlay::paintEvent(QPaintEvent *e) {
|
||||
|
||||
Q_UNUSED(e)
|
||||
|
||||
QPainter p(this);
|
||||
|
||||
|
||||
@@ -39,7 +39,9 @@ SmartPlaylistsView::SmartPlaylistsView(QWidget *_parent) : QListView(_parent) {
|
||||
|
||||
SmartPlaylistsView::~SmartPlaylistsView() = default;
|
||||
|
||||
void SmartPlaylistsView::selectionChanged(const QItemSelection&, const QItemSelection&) {
|
||||
void SmartPlaylistsView::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) {
|
||||
Q_UNUSED(selected)
|
||||
Q_UNUSED(deselected)
|
||||
Q_EMIT ItemsSelectedChanged();
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ class SmartPlaylistsView : public QListView {
|
||||
~SmartPlaylistsView();
|
||||
|
||||
protected:
|
||||
void selectionChanged(const QItemSelection&, const QItemSelection&) override;
|
||||
void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) override;
|
||||
void contextMenuEvent(QContextMenuEvent *e) override;
|
||||
|
||||
Q_SIGNALS:
|
||||
|
||||
Reference in New Issue
Block a user