diff --git a/src/ui/view.cpp b/src/ui/view.cpp index ff76e225a..34a273e25 100644 --- a/src/ui/view.cpp +++ b/src/ui/view.cpp @@ -179,6 +179,7 @@ void View::updateView(const bool restoreScrollPos) } if (Widget* child = attachedWidget()) { + (void)child; updateAttachedWidgetBounds(viewScroll()); ASSERT(child->bounds().w >= viewportBounds().w); ASSERT(child->bounds().h >= viewportBounds().h);