Replace emit with Q_EMIT
This commit is contained in:
@@ -40,12 +40,12 @@ SmartPlaylistsView::SmartPlaylistsView(QWidget *_parent) : QListView(_parent) {
|
||||
SmartPlaylistsView::~SmartPlaylistsView() = default;
|
||||
|
||||
void SmartPlaylistsView::selectionChanged(const QItemSelection&, const QItemSelection&) {
|
||||
emit ItemsSelectedChanged();
|
||||
Q_EMIT ItemsSelectedChanged();
|
||||
}
|
||||
|
||||
void SmartPlaylistsView::contextMenuEvent(QContextMenuEvent *e) {
|
||||
|
||||
emit RightClicked(e->globalPos(), indexAt(e->pos()));
|
||||
Q_EMIT RightClicked(e->globalPos(), indexAt(e->pos()));
|
||||
e->accept();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user