[Libreoffice-commits] core.git: svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Jul 27 12:46:01 UTC 2020


 svx/source/fmcomp/gridctrl.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 3395e0baa6350e6f9e093fe5af51d283f45fede7
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jul 27 10:03:05 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Jul 27 14:45:22 2020 +0200

    Setting the Button repeat is ignored in practice
    
    The timeout used is still the original 90ms, not the attempt to use 22ms so
    this doesn't achieve anything. Making 22ms stick is way too fast, so leave
    this at the value that is currently actually used.
    
    Change-Id: I7207dd9adebf4e0f7f4e486a71f388bc6760d939
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99470
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index f3b06d9d6453..820df8eb75e9 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -356,13 +356,6 @@ DbGridControl::NavigationBar::NavigationBar(vcl::Window* pParent)
     m_aRecordCount->Disable();
     m_aAbsolute->Disable();
 
-    AllSettings aSettings = m_aNextBtn->GetSettings();
-    MouseSettings aMouseSettings = aSettings.GetMouseSettings();
-    aMouseSettings.SetButtonRepeat(aMouseSettings.GetButtonRepeat() / 4);
-    aSettings.SetMouseSettings(aMouseSettings);
-    m_aNextBtn->SetSettings(aSettings, true);
-    m_aPrevBtn->SetSettings(aSettings, true);
-
     m_aFirstBtn->Show();
     m_aPrevBtn->Show();
     m_aNextBtn->Show();


More information about the Libreoffice-commits mailing list