From 9fac1a8b008e43499c2cf6bc44d2ad507e2cc71c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 3 Jul 2020 07:07:59 -0400 Subject: [PATCH] CTemplateEditDialog: Make use of Qt 5 signals and slots --- src/Editor/PropertyEdit/CPropertyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editor/PropertyEdit/CPropertyView.cpp b/src/Editor/PropertyEdit/CPropertyView.cpp index 167cde9a..299bae6f 100644 --- a/src/Editor/PropertyEdit/CPropertyView.cpp +++ b/src/Editor/PropertyEdit/CPropertyView.cpp @@ -324,7 +324,7 @@ void CPropertyView::EditPropertyTemplate() { QMainWindow* pParentWindow = UICommon::FindAncestor(this); CTemplateEditDialog Dialog(mpMenuProperty, pParentWindow); - connect(&Dialog, SIGNAL(PerformedTypeConversion()), this, SLOT(RefreshView())); + connect(&Dialog, &CTemplateEditDialog::PerformedTypeConversion, this, &CPropertyView::RefreshView); Dialog.exec(); }