Compile-time connect in PlasmaComponents.Menu
This commit is contained in:
parent
21eb2d7ce5
commit
bc7a54bb09
@ -31,8 +31,7 @@ QMenuProxy::QMenuProxy (QObject *parent)
|
||||
m_status(DialogStatus::Closed)
|
||||
{
|
||||
m_menu = new QMenu(0);
|
||||
connect(m_menu, SIGNAL(triggered(QAction *)),
|
||||
this, SLOT(itemTriggered(QAction *)));
|
||||
connect(m_menu, &QMenu::triggered, this, &QMenuProxy::itemTriggered);
|
||||
}
|
||||
|
||||
QMenuProxy::~QMenuProxy()
|
||||
|
Loading…
Reference in New Issue
Block a user