From 5ab7b7e41eb1c5301c83e2e6fbb51b83baf84a83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 2 Jan 2017 20:13:30 +0100 Subject: [PATCH] Fix typo --- input.cpp | 2 +- input.h | 2 +- plugins/platforms/drm/drm_backend.cpp | 2 +- plugins/platforms/hwcomposer/hwcomposer_backend.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/input.cpp b/input.cpp index d5a0c55732..ad432624e8 100644 --- a/input.cpp +++ b/input.cpp @@ -1375,7 +1375,7 @@ void InputRedirection::installInputEventFilter(InputEventFilter *filter) m_filters << filter; } -void InputRedirection::prepandInputEventFilter(InputEventFilter *filter) +void InputRedirection::prependInputEventFilter(InputEventFilter *filter) { Q_ASSERT(!m_filters.contains(filter)); m_filters.prepend(filter); diff --git a/input.h b/input.h index 575a2c6d16..fa554d9b2e 100644 --- a/input.h +++ b/input.h @@ -150,7 +150,7 @@ public: * Note: the event filter will get events before the lock screen can get them, thus * this is a security relevant method. **/ - void prepandInputEventFilter(InputEventFilter *filter); + void prependInputEventFilter(InputEventFilter *filter); void uninstallInputEventFilter(InputEventFilter *filter); /** diff --git a/plugins/platforms/drm/drm_backend.cpp b/plugins/platforms/drm/drm_backend.cpp index 104cecf960..bb6b82169f 100644 --- a/plugins/platforms/drm/drm_backend.cpp +++ b/plugins/platforms/drm/drm_backend.cpp @@ -120,7 +120,7 @@ void DrmBackend::outputWentOff() return; } m_dpmsFilter.reset(new DpmsInputEventFilter(this)); - input()->prepandInputEventFilter(m_dpmsFilter.data()); + input()->prependInputEventFilter(m_dpmsFilter.data()); } void DrmBackend::turnOutputsOn() diff --git a/plugins/platforms/hwcomposer/hwcomposer_backend.cpp b/plugins/platforms/hwcomposer/hwcomposer_backend.cpp index 701d69838b..66b8d11e16 100644 --- a/plugins/platforms/hwcomposer/hwcomposer_backend.cpp +++ b/plugins/platforms/hwcomposer/hwcomposer_backend.cpp @@ -253,7 +253,7 @@ void HwcomposerBackend::init() initLights(); toggleBlankOutput(); m_filter.reset(new BacklightInputEventFilter(this)); - input()->prepandInputEventFilter(m_filter.data()); + input()->prependInputEventFilter(m_filter.data()); // get display configuration auto output = createOutput(hwcDevice);