[Libreoffice-commits] core.git: vcl/qt5

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Feb 13 09:32:54 UTC 2019


 vcl/qt5/Qt5Frame.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit ad6d9bce1126997750d3c3c2606d28164d63d1d8
Author:     Katarina Behrens <Katarina.Behrens at cib.de>
AuthorDate: Tue Feb 12 16:03:00 2019 +0100
Commit:     Katarina Behrens <Katarina.Behrens at cib.de>
CommitDate: Wed Feb 13 10:32:30 2019 +0100

    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 at cib.de>
    Tested-by: Katarina Behrens <Katarina.Behrens at cib.de>

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)


More information about the Libreoffice-commits mailing list