diff --git a/src/widget.cpp b/src/widget.cpp index 9d131c4fc9..d5f4e3f7b8 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -1237,14 +1237,6 @@ NWidgetStacked::NWidgetStacked(WidgetID index) : NWidgetContainer(NWID_SELECTION { } -void NWidgetStacked::AdjustPaddingForZoom() -{ - for (const auto &child_wid : this->children) { - child_wid->AdjustPaddingForZoom(); - } - NWidgetContainer::AdjustPaddingForZoom(); -} - void NWidgetStacked::SetupSmallestSize(Window *w) { /* Zero size plane selected */ diff --git a/src/widget_type.h b/src/widget_type.h index 48d598b158..096f9c02ef 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -499,7 +499,6 @@ class NWidgetStacked : public NWidgetContainer { public: NWidgetStacked(WidgetID index); - void AdjustPaddingForZoom() override; void SetupSmallestSize(Window *w) override; void AssignSizePosition(SizingType sizing, int x, int y, uint given_width, uint given_height, bool rtl) override; void FillWidgetLookup(WidgetLookup &widget_lookup) override;