summaryrefslogtreecommitdiff
path: root/vcl/source/window/layout.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-15 09:21:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-15 11:56:09 +0100
commit65ecb0d8f43f99f3794fe1aa19c87c153534fbf2 (patch)
tree61dc4dd87e68520eee49be0a47d713e0cfed5c1b /vcl/source/window/layout.cxx
parent835c9e6d842fb726e11afee032ef1d25d28efd58 (diff)
Related: fdo#80633 we can retain cached size for visibility change
we still need to invalidate the layout of our parents, but we can keep the cached optimal size Change-Id: I8e77366bd61ff45d34f9d411c7f501a3a9ccbd4e
Diffstat (limited to 'vcl/source/window/layout.cxx')
-rw-r--r--vcl/source/window/layout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 5ae34120ad43..21e49f58fd55 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -157,10 +157,10 @@ void VclContainer::SetSizePixel(const Size& rAllocation)
}
}
-void VclContainer::queue_resize()
+void VclContainer::queue_resize(StateChangedType eReason)
{
markLayoutDirty();
- Window::queue_resize();
+ Window::queue_resize(eReason);
}
void VclBox::accumulateMaxes(const Size &rChildSize, Size &rSize) const