aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gräßlin <[email protected]>2017-01-02 20:13:30 +0100
committerMartin Gräßlin <[email protected]>2017-01-02 20:13:30 +0100
commit5ab7b7e41eb1c5301c83e2e6fbb51b83baf84a83 (patch)
treea9739f622a49eaabc3982b27c91133ad4e920552
parent4db535db07e3bc48b3cab3367945d3a9faaed762 (diff)
Fix typo
-rw-r--r--input.cpp2
-rw-r--r--input.h2
-rw-r--r--plugins/platforms/drm/drm_backend.cpp2
-rw-r--r--plugins/platforms/hwcomposer/hwcomposer_backend.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/input.cpp b/input.cpp
index d5a0c55..ad43262 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 575a2c6..fa554d9 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 104cecf..bb6b821 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 701d698..66b8d11 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);