diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-15 09:21:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-15 11:56:09 +0100 |
commit | 65ecb0d8f43f99f3794fe1aa19c87c153534fbf2 (patch) | |
tree | 61dc4dd87e68520eee49be0a47d713e0cfed5c1b /vcl/source/control/tabctrl.cxx | |
parent | 835c9e6d842fb726e11afee032ef1d25d28efd58 (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/control/tabctrl.cxx')
-rw-r--r-- | vcl/source/control/tabctrl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index 6148a950d3e4..cb21606df3ee 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -2224,10 +2224,10 @@ Size TabControl::GetOptimalSize() const return calculateRequisition(); } -void TabControl::queue_resize() +void TabControl::queue_resize(StateChangedType eReason) { markLayoutDirty(); - Window::queue_resize(); + Window::queue_resize(eReason); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |