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_status(DialogStatus::Closed)
|
||||||
{
|
{
|
||||||
m_menu = new QMenu(0);
|
m_menu = new QMenu(0);
|
||||||
connect(m_menu, SIGNAL(triggered(QAction *)),
|
connect(m_menu, &QMenu::triggered, this, &QMenuProxy::itemTriggered);
|
||||||
this, SLOT(itemTriggered(QAction *)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenuProxy::~QMenuProxy()
|
QMenuProxy::~QMenuProxy()
|
||||||
|
Loading…
Reference in New Issue
Block a user