diff options
author | Noel Grandin <noel@peralex.com> | 2021-01-28 11:40:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-01-28 12:23:04 +0100 |
commit | d564cad9a69af56445a9a257e23c0dc684371780 (patch) | |
tree | 170a55d8740a7f095465a5a62a6f777ae8a66db2 | |
parent | 28a8a14f1782520cf1699b5610b23917daa5ee9a (diff) |
MouseFollowFlags::DDList is dead
has been since initial import
Change-Id: Ib3e708cddd114f63fd6c77e743b56e35d5929d89
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110049
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | include/vcl/settings.hxx | 3 | ||||
-rw-r--r-- | vcl/source/app/settings.cxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx index b62f1b2d0522..1e18e005cb70 100644 --- a/include/vcl/settings.hxx +++ b/include/vcl/settings.hxx @@ -64,11 +64,10 @@ namespace o3tl enum class MouseFollowFlags { Menu = 0x0001, - DDList = 0x0002, }; namespace o3tl { - template<> struct typed_flags<MouseFollowFlags> : is_typed_flags<MouseFollowFlags, 0x03> {}; + template<> struct typed_flags<MouseFollowFlags> : is_typed_flags<MouseFollowFlags, 0x01> {}; } enum class MouseMiddleButtonAction diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx index 556e1f7e69cf..bfce93a9736b 100644 --- a/vcl/source/app/settings.cxx +++ b/vcl/source/app/settings.cxx @@ -65,7 +65,7 @@ struct ImplMouseData tools::Long mnStartDragHeight = 2; sal_uLong mnButtonRepeat = 90; sal_uLong mnMenuDelay = 150; - MouseFollowFlags mnFollow = MouseFollowFlags::Menu | MouseFollowFlags::DDList; + MouseFollowFlags mnFollow = MouseFollowFlags::Menu; MouseMiddleButtonAction mnMiddleButtonAction= MouseMiddleButtonAction::AutoScroll; MouseWheelBehaviour mnWheelBehavior = MouseWheelBehaviour::ALWAYS; }; |