CTemplateEditDialog: Make use of Qt 5 signals and slots

This commit is contained in:
Lioncash 2020-07-03 07:07:59 -04:00
parent c7fbfb70e5
commit 9fac1a8b00
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ void CPropertyView::EditPropertyTemplate()
{
QMainWindow* pParentWindow = UICommon::FindAncestor<QMainWindow>(this);
CTemplateEditDialog Dialog(mpMenuProperty, pParentWindow);
connect(&Dialog, SIGNAL(PerformedTypeConversion()), this, SLOT(RefreshView()));
connect(&Dialog, &CTemplateEditDialog::PerformedTypeConversion, this, &CPropertyView::RefreshView);
Dialog.exec();
}