[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - vcl/qt5

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Mar 12 20:46:37 UTC 2019


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

New commits:
commit cda7159937be6f88eeb5826dcbdc72d64788779c
Author:     Katarina Behrens <Katarina.Behrens at cib.de>
AuthorDate: Tue Feb 12 16:03:00 2019 +0100
Commit:     Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Tue Mar 12 21:46:13 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>
    (cherry picked from commit ad6d9bce1126997750d3c3c2606d28164d63d1d8)
    Reviewed-on: https://gerrit.libreoffice.org/69124
    Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>
    Tested-by: Xisco Faulí <xiscofauli at libreoffice.org>

diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index 3537c1b286ba..acf7c6da7266 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -613,7 +613,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