summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/widget.cpp')
-rw-r--r--src/gui/widgets/widget.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/widget.cpp b/src/gui/widgets/widget.cpp
index 3be80c772..7fdab305e 100644
--- a/src/gui/widgets/widget.cpp
+++ b/src/gui/widgets/widget.cpp
@@ -513,3 +513,9 @@ void Widget::windowResized()
{
mRedraw = true;
}
+
+Widget *Widget::callPostInit(Widget *const widget)
+{
+ widget->postInit();
+ return widget;
+}