aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/welcomepagehelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/coreplugin/welcomepagehelper.cpp')
-rw-r--r--src/plugins/coreplugin/welcomepagehelper.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/welcomepagehelper.cpp b/src/plugins/coreplugin/welcomepagehelper.cpp
index 2a190b547e..f1b6281d43 100644
--- a/src/plugins/coreplugin/welcomepagehelper.cpp
+++ b/src/plugins/coreplugin/welcomepagehelper.cpp
@@ -868,4 +868,14 @@ Section::Section(const QString &name, int priority, std::optional<int> maxRows)
, maxRows(maxRows)
{}
+ResizeSignallingWidget::ResizeSignallingWidget(QWidget *parent)
+ : QWidget(parent)
+{
+}
+
+void ResizeSignallingWidget::resizeEvent(QResizeEvent *event)
+{
+ emit resized(event->size(), event->oldSize());
+}
+
} // namespace Core