diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2020-10-21 17:40:09 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2020-10-22 12:22:09 +0200 |
commit | c519dd2ea19cb6c53c29aeeb67e263f6b9f832b2 (patch) | |
tree | f567fa87154f2f561a310f102d387134a6abaa27 /vcl/source/control/button.cxx | |
parent | 3f7515258e91266f10e5c7bafee2d3d6fa9c91c2 (diff) |
Qt5 forward the flat push button style
Change-Id: I0835f66b8ce478f645ca2e5c376bef9a0740c8c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104637
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/source/control/button.cxx')
-rw-r--r-- | vcl/source/control/button.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index ead095de7a74..66a399c15bbc 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -999,6 +999,8 @@ void PushButton::ImplDrawPushButton(vcl::RenderContext& rRenderContext) nButtonStyle &= ~DrawButtonFlags::Pressed; } + if (GetStyle() & WB_FLATBUTTON) + aControlValue.m_bFlatButton = true; if (GetStyle() & WB_BEVELBUTTON) aControlValue.mbBevelButton = true; |