1
0
Fork 0

Codefix: NWidgetStacked::AdjustPaddingForZoom duplicates inherited method. (#13135)

pull/13138/head
Peter Nelson 2024-11-30 23:15:17 +00:00 committed by GitHub
parent 568bb1f5da
commit 30bda88e97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;