mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-05 12:45:55 +00:00
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);
|
||||
CTemplateEditDialog Dialog(mpMenuProperty, pParentWindow);
|
||||
connect(&Dialog, SIGNAL(PerformedTypeConversion()), this, SLOT(RefreshView()));
|
||||
connect(&Dialog, &CTemplateEditDialog::PerformedTypeConversion, this, &CPropertyView::RefreshView);
|
||||
Dialog.exec();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user