diff options
Diffstat (limited to 'src/library/baseexternallibraryfeature.cpp')
-rw-r--r-- | src/library/baseexternallibraryfeature.cpp | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/library/baseexternallibraryfeature.cpp b/src/library/baseexternallibraryfeature.cpp index b527c119d3..8eee4928bd 100644 --- a/src/library/baseexternallibraryfeature.cpp +++ b/src/library/baseexternallibraryfeature.cpp @@ -9,16 +9,22 @@ BaseExternalLibraryFeature::BaseExternalLibraryFeature(QObject* pParent, : LibraryFeature(pParent), m_pTrackCollection(pCollection) { m_pAddToAutoDJAction = new QAction(tr("Add to Auto DJ Queue (bottom)"), this); - connect(m_pAddToAutoDJAction, SIGNAL(triggered()), - this, SLOT(slotAddToAutoDJ())); + connect(m_pAddToAutoDJAction, + &QAction::triggered, + this, + &BaseExternalLibraryFeature::slotAddToAutoDJ); m_pAddToAutoDJTopAction = new QAction(tr("Add to Auto DJ Queue (top)"), this); - connect(m_pAddToAutoDJTopAction, SIGNAL(triggered()), - this, SLOT(slotAddToAutoDJTop())); + connect(m_pAddToAutoDJTopAction, + &QAction::triggered, + this, + &BaseExternalLibraryFeature::slotAddToAutoDJTop); m_pImportAsMixxxPlaylistAction = new QAction(tr("Import Playlist"), this); - connect(m_pImportAsMixxxPlaylistAction, SIGNAL(triggered()), - this, SLOT(slotImportAsMixxxPlaylist())); + connect(m_pImportAsMixxxPlaylistAction, + &QAction::triggered, + this, + &BaseExternalLibraryFeature::slotImportAsMixxxPlaylist); } BaseExternalLibraryFeature::~BaseExternalLibraryFeature() { |