summaryrefslogtreecommitdiffstats
path: root/src/widget/wcoverartmenu.cpp
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-11-13 17:23:25 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-11-13 17:35:36 +0100
commitd280399e55acb7e2ba0390801beb58accaefb471 (patch)
tree293b8181282efe2be466764ed5884db76300ea7a /src/widget/wcoverartmenu.cpp
parent8d6474085714c6db2e5e67b149de12d4e249356f (diff)
widget: Replace old-style Qt connect() calls
Diffstat (limited to 'src/widget/wcoverartmenu.cpp')
-rw-r--r--src/widget/wcoverartmenu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widget/wcoverartmenu.cpp b/src/widget/wcoverartmenu.cpp
index c77e93731c..437ab6d1b9 100644
--- a/src/widget/wcoverartmenu.cpp
+++ b/src/widget/wcoverartmenu.cpp
@@ -19,17 +19,17 @@ WCoverArtMenu::~WCoverArtMenu() {
void WCoverArtMenu::createActions() {
m_pChange = new QAction(tr("Choose new cover",
"change cover art location"), this);
- connect(m_pChange, SIGNAL(triggered()), this, SLOT(slotChange()));
+ connect(m_pChange, &QAction::triggered, this, &WCoverArtMenu::slotChange);
addAction(m_pChange);
m_pUnset = new QAction(tr("Clear cover",
"clears the set cover art -- does not touch files on disk"), this);
- connect(m_pUnset, SIGNAL(triggered()), this, SLOT(slotUnset()));
+ connect(m_pUnset, &QAction::triggered, this, &WCoverArtMenu::slotUnset);
addAction(m_pUnset);
m_pReload = new QAction(tr("Reload from file/folder",
"reload cover art from file metadata or folder"), this);
- connect(m_pReload, SIGNAL(triggered()), this, SIGNAL(reloadCoverArt()));
+ connect(m_pReload, &QAction::triggered, this, &WCoverArtMenu::reloadCoverArt);
addAction(m_pReload);
}