1
0
Fork 0

Codefix: NWidgetStacked::AdjustPaddingForZoom duplicates inherited method.

pull/13135/head
Peter Nelson 2024-11-29 23:41:37 +00:00
parent 568bb1f5da
commit 94d89f6379
No known key found for this signature in database
GPG Key ID: 8EF8F0A467DF75ED
2 changed files with 0 additions and 9 deletions

View File

@ -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 */

View File

@ -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;