vcl/qt5/Qt5Graphics.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
New commits: commit 7c4b5c46dd1679d93a21f015e5a09f3428eb3d2c Author: Tomaž Vajngerl <[email protected]> AuthorDate: Mon Nov 18 23:15:54 2019 +0100 Commit: Tomaž Vajngerl <[email protected]> CommitDate: Tue Nov 19 09:38:15 2019 +0100 widget theme: add file definition theme support to qt5 backend Change-Id: I603e75d056a75837353be25f901ab7df6e0cc71a Reviewed-on: https://gerrit.libreoffice.org/83135 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <[email protected]> diff --git a/vcl/qt5/Qt5Graphics.cxx b/vcl/qt5/Qt5Graphics.cxx index 8228699a2602..60054700596e 100644 --- a/vcl/qt5/Qt5Graphics.cxx +++ b/vcl/qt5/Qt5Graphics.cxx @@ -40,8 +40,12 @@ Qt5Graphics::Qt5Graphics( Qt5Frame *pFrame, QImage *pQImage ) , m_aTextColor( 0x00, 0x00, 0x00 ) { ResetClipRegion(); - if (!Qt5Data::noNativeControls()) - m_pWidgetDraw.reset(new Qt5Graphics_Controls()); + + if (!initWidgetDrawBackends(false)) + { + if (!Qt5Data::noNativeControls()) + m_pWidgetDraw.reset(new Qt5Graphics_Controls()); + } } Qt5Graphics::~Qt5Graphics() { ReleaseFonts(); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
