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

New commits:
commit eabe32cb1822f1150abdb4c44a9ca19d551c2ecf
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Tue Jan 28 08:21:20 2025 +0100
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Tue Jan 28 09:28:49 2025 +0100

    Fix "Remove a hack at least for Emscripten --enable-qt6"
    
    ...following up on 862e86d187c53ab077b672997ca8d9623396b962, where I had 
screwed
    up (and thanks to Michael Weghorn for spotting)
    
    Change-Id: I0e5c6b4c12b6609021fe8ff7e0ad092d736728db
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180813
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>

diff --git a/vcl/qt5/QtFrame.cxx b/vcl/qt5/QtFrame.cxx
index a8debeff5a8e..d717886f464e 100644
--- a/vcl/qt5/QtFrame.cxx
+++ b/vcl/qt5/QtFrame.cxx
@@ -272,7 +272,6 @@ QWindow* QtFrame::windowHandle() const
         case SystemEnvData::Platform::WASM:
 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
             // no idea, why Qt::WA_NativeWindow breaks the menubar for 
EMSCRIPTEN
-            pChild->setAttribute(Qt::WA_NativeWindow);
             break;
 #endif
         case SystemEnvData::Platform::Wayland:

Reply via email to