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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Feb 27 19:51:11 UTC 2019


 vcl/qt5/Qt5Frame.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit cfb2e03a683a8d217b00b8abfd9c55bf61059462
Author:     Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Wed Feb 27 16:13:48 2019 +0100
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Wed Feb 27 20:50:47 2019 +0100

    tdf#104235: Qt5Frame: Set default icon
    
    Set a default icon in Qt5Frame constructor, similar to how it's done
    for the gtk and gtk3 VCL plugins in 'GtkSalFrame::InitCommon'.
    
    Change-Id: I4e4e62ffa0eca6499f4752ff467d004cae68788f
    Reviewed-on: https://gerrit.libreoffice.org/68450
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>

diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index d633b0836557..c687c4a279c3 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -161,6 +161,8 @@ Qt5Frame::Qt5Frame(Qt5Frame* pParent, SalFrameStyleFlags nStyle, bool bUseCairo)
     //m_aSystemData.pWidget = m_pQWidget;
     //m_aSystemData.nScreen = m_nXScreen.getXScreen();
     m_aSystemData.pToolkit = "qt5";
+
+    SetIcon(SV_ICON_ID_OFFICE);
 }
 
 Qt5Frame::~Qt5Frame()


More information about the Libreoffice-commits mailing list