summaryrefslogtreecommitdiff
path: root/src/shared/designerintegrationv2/widgethost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/designerintegrationv2/widgethost.cpp')
-rw-r--r--src/shared/designerintegrationv2/widgethost.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/designerintegrationv2/widgethost.cpp b/src/shared/designerintegrationv2/widgethost.cpp
index c965c439f8..017a4f0c2a 100644
--- a/src/shared/designerintegrationv2/widgethost.cpp
+++ b/src/shared/designerintegrationv2/widgethost.cpp
@@ -73,8 +73,8 @@ void WidgetHost::setFormWindow(QDesignerFormWindowInterface *fw)
m_formWindow->setAutoFillBackground(true);
m_formWindow->setBackgroundRole(QPalette::Background);
- connect(m_formResizer, SIGNAL(formWindowSizeChanged(QRect,QRect)),
- this, SLOT(fwSizeWasChanged(QRect,QRect)));
+ connect(m_formResizer, &Internal::FormResizer::formWindowSizeChanged,
+ this, &WidgetHost::fwSizeWasChanged);
}
QSize WidgetHost::formWindowSize() const