CTemplateEditDialog: Make use of Qt 5 signals and slots
This commit is contained in:
parent
c7fbfb70e5
commit
9fac1a8b00
|
@ -324,7 +324,7 @@ void CPropertyView::EditPropertyTemplate()
|
||||||
{
|
{
|
||||||
QMainWindow* pParentWindow = UICommon::FindAncestor<QMainWindow>(this);
|
QMainWindow* pParentWindow = UICommon::FindAncestor<QMainWindow>(this);
|
||||||
CTemplateEditDialog Dialog(mpMenuProperty, pParentWindow);
|
CTemplateEditDialog Dialog(mpMenuProperty, pParentWindow);
|
||||||
connect(&Dialog, SIGNAL(PerformedTypeConversion()), this, SLOT(RefreshView()));
|
connect(&Dialog, &CTemplateEditDialog::PerformedTypeConversion, this, &CPropertyView::RefreshView);
|
||||||
Dialog.exec();
|
Dialog.exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue