comparison widgets/LevelPanToolButton.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
comparison
equal deleted inserted replaced
1601:4739a1b2266f 1602:a798a7b5e215
225 } 225 }
226 } 226 }
227 227
228 MenuTitle::addTitle(m, title); 228 MenuTitle::addTitle(m, title);
229 229
230 m->addAction(tr("&Reset to Default"), 230 m->addAction(tr("&Reset to Default"), m_lpw, SLOT(setToDefault()));
231 [=]() {
232 m_lpw->setToDefault();
233 });
234 231
235 m->popup(mapToGlobal(pos)); 232 m->popup(mapToGlobal(pos));
236 } 233 }
237 234
238 void 235 void