diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-07-11 02:22:16 +0000 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2019-07-12 12:09:10 +0200 |
commit | 77eb3a7ff88c30d6145a3aa6d454d08ed93206df (patch) | |
tree | 377463ffd901e1179af774e9bc6c9294a735e25e /vcl/inc | |
parent | a64402bbdc246c52097acf79e14d7bf58db65217 (diff) |
Qt5 drop special QPushButton handling
Basically reverts commit 3f0dbdd61df ("Draw button focus so that
it doesn't obscure the actual button") and declares qt5 doesn't
support an extra native focus for a button.
LO's own "ant" focus is prevented by Qt5Data::Qt5Data():
pSVData->maNWFData.mbNoFocusRects = true;
pSVData->maNWFData.mbNoFocusRectsForFlatButtons = true;
Change-Id: Ifdce615cac92f69b008780cf986cdfd0915ccd14
Reviewed-on: https://gerrit.libreoffice.org/75415
Tested-by: Jenkins
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/qt5/Qt5Graphics_Controls.hxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/inc/qt5/Qt5Graphics_Controls.hxx b/vcl/inc/qt5/Qt5Graphics_Controls.hxx index 50d1de3b1cec..2676fa6413a4 100644 --- a/vcl/inc/qt5/Qt5Graphics_Controls.hxx +++ b/vcl/inc/qt5/Qt5Graphics_Controls.hxx @@ -31,12 +31,9 @@ class VCLPLUG_QT5_PUBLIC Qt5Graphics_Controls final : public vcl::WidgetDrawInterface { - std::unique_ptr<QPushButton> m_focusedButton; std::unique_ptr<QImage> m_image; QRect m_lastPopupRect; - void initStyles(); - public: Qt5Graphics_Controls(); |