diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2019-02-12 16:03:00 +0100 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2019-02-13 10:32:30 +0100 |
commit | ad6d9bce1126997750d3c3c2606d28164d63d1d8 (patch) | |
tree | 6b64524491971d575bb523a1b5f6705f7fa8a1a0 /vcl | |
parent | 49bc42bfd2b164d61603f138eeb2292f5d89605b (diff) |
tdf#120786: show undocked toolbar only when it's ready
in SetAlwaysOnTop set window flags only, don't show the widget yet
(it'll be shown later, when it can be painted in full)
Change-Id: I5e855f1ebba1eb9985744ece055a0f141e965940
Reviewed-on: https://gerrit.libreoffice.org/67739
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qt5/Qt5Frame.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx index e3f532dee752..656cd6d9f885 100644 --- a/vcl/qt5/Qt5Frame.cxx +++ b/vcl/qt5/Qt5Frame.cxx @@ -609,7 +609,6 @@ void Qt5Frame::SetAlwaysOnTop(bool bOnTop) pWidget->setWindowFlags(flags | Qt::CustomizeWindowHint | Qt::WindowStaysOnTopHint); else pWidget->setWindowFlags(flags & ~(Qt::CustomizeWindowHint | Qt::WindowStaysOnTopHint)); - pWidget->show(); } void Qt5Frame::ToTop(SalFrameToTop nFlags) |