From d0939dee8bd5f06442ea309d76b862be72b9b946 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Sat, 7 Nov 2020 02:56:44 +0100 Subject: [PATCH] Prefer function pointer to slot string --- plugins/platforms/drm/drm_inputeventfilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/platforms/drm/drm_inputeventfilter.cpp b/plugins/platforms/drm/drm_inputeventfilter.cpp index 76202954e0..933fe1a87c 100644 --- a/plugins/platforms/drm/drm_inputeventfilter.cpp +++ b/plugins/platforms/drm/drm_inputeventfilter.cpp @@ -98,7 +98,7 @@ bool DpmsInputEventFilter::touchMotion(qint32 id, const QPointF &pos, quint32 ti void DpmsInputEventFilter::notify() { // queued to not modify the list of event filters while filtering - QMetaObject::invokeMethod(m_backend, "turnOutputsOn", Qt::QueuedConnection); + QMetaObject::invokeMethod(m_backend, &DrmBackend::turnOutputsOn, Qt::QueuedConnection); } }