From 5b1eb584d6199602004a8a344d883138b1f9be78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 15 Feb 2016 16:30:22 +0100 Subject: [PATCH] [backends/drm] Fix typo Thanks to kbroulik for noticing that I really, really should bye a new keyboard as it's eating my "p" key. --- backends/drm/drm_backend.cpp | 4 ++-- backends/drm/drm_backend.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backends/drm/drm_backend.cpp b/backends/drm/drm_backend.cpp index 06cc0d1274..3ffc34bdb7 100644 --- a/backends/drm/drm_backend.cpp +++ b/backends/drm/drm_backend.cpp @@ -96,7 +96,7 @@ bool DpmsInputEventFilter::keyEvent(QKeyEvent *event) void DpmsInputEventFilter::notify() { // queued to not modify the list of event filters while filtering - QMetaObject::invokeMethod(m_backend, "turnOututsOn", Qt::QueuedConnection); + QMetaObject::invokeMethod(m_backend, "turnOutputsOn", Qt::QueuedConnection); } DrmBackend::DrmBackend(QObject *parent) @@ -154,7 +154,7 @@ void DrmBackend::outputWentOff() input()->prepandInputEventFilter(m_dpmsFilter.data()); } -void DrmBackend::turnOututsOn() +void DrmBackend::turnOutputsOn() { m_dpmsFilter.reset(); for (auto it = m_outputs.constBegin(), end = m_outputs.constEnd(); it != end; it++) { diff --git a/backends/drm/drm_backend.h b/backends/drm/drm_backend.h index daa3167cfe..f63c375a42 100644 --- a/backends/drm/drm_backend.h +++ b/backends/drm/drm_backend.h @@ -94,7 +94,7 @@ public: void checkOutputsAreOn(); public Q_SLOTS: - void turnOututsOn(); + void turnOutputsOn(); Q_SIGNALS: