mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-08-13 18:14:13 +02:00
Migration of signal/slot to method pointer continued. Mostly simple cases.
This commit is contained in:
@@ -353,13 +353,13 @@ void TitleBlockPropertiesWidget::initDialog(
|
||||
this);
|
||||
|
||||
connect(m_tbt_edit,
|
||||
SIGNAL(triggered()),
|
||||
&QAction::triggered,
|
||||
this,
|
||||
SLOT(editCurrentTitleBlockTemplate()));
|
||||
&TitleBlockPropertiesWidget::editCurrentTitleBlockTemplate);
|
||||
connect(m_tbt_duplicate,
|
||||
SIGNAL(triggered()),
|
||||
&QAction::triggered,
|
||||
this,
|
||||
SLOT(duplicateCurrentTitleBlockTemplate()));
|
||||
&TitleBlockPropertiesWidget::duplicateCurrentTitleBlockTemplate);
|
||||
|
||||
m_tbt_menu = new QMenu(tr("Title block templates actions"), ui->m_tbt_pb);
|
||||
m_tbt_menu -> addAction(m_tbt_edit);
|
||||
|
||||
Reference in New Issue
Block a user