diff widgets/AudioDial.cpp @ 1602:a798a7b5e215

Further removal of Qt 5.6+-only APIs
author Chris Cannam
date Wed, 29 Apr 2020 14:46:37 +0100
parents 27ea5d61b402
children
line wrap: on
line diff
--- a/widgets/AudioDial.cpp	Wed Apr 29 14:23:51 2020 +0100
+++ b/widgets/AudioDial.cpp	Wed Apr 29 14:46:37 2020 +0100
@@ -117,14 +117,8 @@
         MenuTitle::addTitle(m, m_title);
     }
 
-    m->addAction(tr("&Edit..."),
-                 [=]() {
-                     edit();
-                 });
-    m->addAction(tr("&Reset to Default"),
-                 [=]() {
-                     setToDefault();
-                 });
+    m->addAction(tr("&Edit..."), this, SLOT(edit()));
+    m->addAction(tr("&Reset to Default"), this, SLOT(setToDefault()));
 
     m->popup(mapToGlobal(pos));
 }